Click here to Skip to main content
Click here to Skip to main content

Magnifying Glass

, 25 Dec 2001 CPOL
Rate this:
Please Sign up or sign in to vote.
A magnifying glass activated from the system tray.

Sample Image 1

Sample Image 2 Sample Image 3


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).



26 Dec 2001:

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


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Alex Fr
Software Developer
Israel Israel
No Biography provided

Comments and Discussions

GeneralDosent work correctly with dual screens PinmemberBob100015-Oct-09 15:55 
GeneralCompile error PinmemberBob100015-Oct-09 15:44 
GeneralRapid clicking causes weird effect... Pinmemberare_all_nicks_taken_or_what23-Sep-09 0:31 
QuestionUse it in a freeware ? Pinmembervincennes22-Sep-08 23:31 
I like very much your magnifying glass application. Is it possible for me to include it in a freeware developpement ? Do I need to include some licensing information in my software if I use it ?
What is the legal status of this code ?
Thank you for your answer
AnswerRe: Use it in a freeware ? PinmemberAlex Fr24-Sep-08 9:10 
GeneralLive updating Pinmemberdazzyboy17-Sep-08 4:56 
GeneralRe: Live updating PinmemberAlex Fr18-Sep-08 20:13 
JokeGreat! Pinmembermegaadam5-May-06 5:05 
GeneralMagnification for text in image Pinmemberharsha vardhan18-Feb-06 20:05 
QuestionHow would I keep the mouse functionality... Pinmemberbarcibus25-Apr-03 8:16 
AnswerRe: How would I keep the mouse functionality... PinmemberAlex Farber26-Apr-03 21:04 
GeneralRe: How would I keep the mouse functionality... Pinmemberbarcibus26-Apr-03 22:40 
GeneralVery nice !! PinmemberWREY6-Feb-03 2:13 
GeneralCorrection PinmemberAlex Farber28-Jan-03 21:19 
GeneralRe: Correction PinmemberWREY4-Feb-03 3:23 
GeneralRe: Correction PinmemberAlex Farber4-Feb-03 3:40 
GeneralBug found PinmemberRemon28-Jan-03 10:09 
GeneralRe: Bug found PinmemberAlex Farber28-Jan-03 19:55 
General... and then the code was stolen! Pinsussapppp18-Dec-02 0:42 
GeneralGreat work. One suggestion. PinmemberTodd Smith2-Jan-02 21:53 
GeneralRendering HTML files in hidden window PinmemberPat O'Neil2-Jan-02 13:51 
GeneralRe: Rendering HTML files in hidden window PinmemberTodd Smith2-Jan-02 19:30 
GeneralRe: Rendering HTML files in hidden window Pinmemberjofrasier2-Jan-02 23:46 
Questionzoom+ instead? PinmemberAnonymous131-Dec-01 2:25 
AnswerRe: zoom+ instead? PinmemberAnonymous17-May-02 12:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150327.1 | Last Updated 26 Dec 2001
Article Copyright 2001 by Alex Fr
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid