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

  • Packaged application development teams frequently operate with limited testing environments due to time and labor constraints. By virtualizing the entire application stack, packaged application development teams can deliver business results faster, at higher quality, and with lower risk.

  • Agile development principles have gone from something used only by cutting-edge teams to a mainstream approach used by teams large and small. If you're not using agile methods already though, or if you've only been exposed to agile on small projects here and there, you may wonder if agile can ever work in your environment. Read this eBook to learn the fundamentals of agile and how to increase the productivity of your software teams while enabling them to produce higher-quality solutions that better fulfill …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds