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: August 20, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT When you look at natural user interfaces as a developer, it isn't just fun and games. There are some very serious, real-world usage models of how things can help make the world a better place – things like Intel® RealSense™ technology. Check out this upcoming eSeminar and join the panel of experts, both from inside and outside of Intel, as they discuss how natural user interfaces will likely be getting adopted in a wide variety …

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds