MyZoomIn (MFC ZoomIn w/Additional Features)

Environment: VC6

This simple application is an MFC implementation of the Zoomin application provided by Microsoft. It incorporates the features of the Zoomin extension posted to CodeGuru by Thierry Maurel along with a few features that I've added.

The Zoomin extension by Thierry Maurel added grids and always-on-top features to Zoomin. These features have been incorporated into MyZoomIn along with the following features:

- Tooltips on the scroll bar to indicate zoom factor
- Status bar attached (with an option to hide)
- XY coordinates of pixel at mouse cursor (absolute or relative)
- RGB identification of pixel at mouse cursor

The source code is all available in the download, so I didn't put any of it in this article. For my other projects (software and electronics) and the latest updates, you can visit my website.

Downloads

Download demo project - 130 Kb


Comments

  • Extending the grid feature.

    Posted by djemmerson on 06/08/2010 03:36pm

    I don't especially want to create a 'new article' for this, perhaps Corey might consider incorporating my code as an 'update' to his article? To be brief, I supplemented the 'grid' code with a 'View Rulers' option, making measurement a little easier. Let me know if you're interested. D.

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: May 18, 2015 @ 1:00 p.m. ET / 10:00 a.m. PT While the idea of using facial and or gesture recognitions to create a modern, intuitive game seems attractive, some developers may want to leverage Unity 3D as a way to accelerate their development. There are many different ways in which Intel and Unity Technologies have been working together to helps speed the develop of games with the Intel® RealSense™ SDK (Software Developer Kit), so come hear from a panel of experts on what we've done …

  • There has been growing buzz about DevOps. DevOps is a methodology that unites the often separate functions of software development (Dev) and production and operations (Ops) into a single, integrated, and continuous process. DevOps is about breaking down the barriers between Dev and Ops. It leverages people, processes, and technology to stimulate collaboration and innovation across the entire software development and release process. Dev and Ops should always be part of an integrated process, but that's not …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date