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

  • Organizations are increasingly gravitating toward mobile-first application development as they assess the need to revamp their application portfolios to support touch computing and mobility. Consumerization has brought higher expectations for application usability along with the mobile devices themselves. Enterprises are increasingly shifting their new application acquisitions and development efforts toward mobile platforms. With this backdrop, it is natural to expect application platform vendors to invest in …

  • Cloud computing isn't new, but it's still a hot topic in technology circles. Moving to the cloud has done great things for many businesses. When it comes to handling a basic business necessity, cloud computing has brought many improvements to overall business continuity. Using the cloud for DR makes a lot of sense for many, but it's not exactly the most simple concept. Read this eBook to find answers to all the key questions IT professionals have about cloud-based disaster recovery, and helpful info around the …

Most Popular Programming Stories

More for Developers

RSS Feeds

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