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

  • IBM Worklight is a mobile application development platform that lets you extend your business to mobile devices. It is designed to provide an open, comprehensive platform to build, run and manage HTML5, hybrid and native mobile apps.

  • Live Event Date: November 13, 2014 @ 2:00 p.m. ET / 11:00 a.m. PT APIs can be a great source of competitive advantage. The practice of exposing backend services as APIs has become pervasive, however their use varies widely across companies and industries. Some companies leverage APIs to create internal, operational and development efficiencies, while others use them to drive ancillary revenue channels. Many companies successfully support both public and private programs from the same API by varying levels …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds