Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Magnifying Glass

0.00/5 (No votes)
25 Dec 2001 1  
A magnifying glass activated from the system tray.

Sample Image 1

Sample Image 2 Sample Image 3

Introduction

Magnifying Glass is an application that adds an icon to the system tray. The Magnification is activated by clicking on this icon. When the program is run, it shows a magnifying glass in any place on 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 invisible TOPMOST window to capture mouse input on the whole screen.
  • Using message crackers from WindowsX.h.
  • Windows graphics (GDI).

Acknowledgements:

History

26 Dec 2001:

  1. Redrawing problem in Windows 95, 98, reported by PJ Arends.
  2. Compilation problem when SDK is not installed.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here