Magnifying Glass | CodeGuru

Magnifying Glass

Environment: C++ 6.0, NT 4.0 or later, Win95 or later Magnifying Glass is application that adds icon to system tray. Magnification is activated by clicking of this item. After this program shows magnifying glass in any place of the screen when left mouse button is pressed. Topics covered in this program: Using mutex in single-instance […]

Written By
CodeGuru Staff
CodeGuru Staff
Jan 29, 2002
1 minute read
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Sample Image 1

Sample Image 2
Sample Image 3

Environment: C++ 6.0, NT 4.0 or later, Win95 or later

Magnifying Glass is application that adds icon to system tray. Magnification is activated by clicking of this item. After this program shows magnifying glass in any place of the screen when left mouse button is pressed.

Topics covered in this program:

  • Using mutex in single-instance application.
  • Writing application that adds icon to system tray.
  • Using unvisible TOPMOST window to capture mouse input
    on the whole screen.
  • Using message crackers from WindowsX.h.
  • Windows graphics (GDI).

Acknowledgements:

Updates

Fixed problems with 1/29/2002 update:

  1. Redrawing problem in Windows 95, 98
  2. Compilation error when SDK is not installed.

Downloads

Download demo project – 31 Kb

CodeGuru Logo

CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.