Magnifying Glass

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

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read