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

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 
GeneralExcellent Work ! PinmemberGarth J Lancaster30-Dec-01 11:18 
GeneralRe: Excellent Work ! PinmemberAlex Farber30-Dec-01 21:31 
GeneralOops... PinmemberCKL27-Dec-01 0:53 
GeneralRe: Oops... PinmemberAlex Farber27-Dec-01 1:00 
QuestionUse GetDC(NULL)??? PinmemberAno26-Dec-01 14:10 
AnswerRe: Use GetDC(NULL)??? PinmemberTim Smith26-Dec-01 14:14 
GeneralRe: Use GetDC(NULL)??? PinmemberChristian Graus26-Dec-01 14:27 
GeneralRe: Use GetDC(NULL)??? PinmemberTim Smith30-Dec-01 12:18 
GeneralRe: Use GetDC(NULL)??? Pinmemberarchimedean4-May-03 5:40 
GeneralRe: Use GetDC(NULL)??? PinmemberChristopher Fairbairn29-Jun-04 6:06 
GeneralGreat Tool!! PinmemberPJ Arends23-Dec-01 9:20 
GeneralRe: Great Tool!! PinmemberPJ Arends26-Dec-01 20:19 
GeneralRe: Great Tool!! PinmemberAlex Farber26-Dec-01 20:21 
GeneralTop PinmemberDylan Kenneally26-Nov-01 23:50 
GeneralIf the program is not compiled... PinmemberAlex Farber26-Nov-01 21:47 
GeneralRe: If the program is not compiled... PinmemberGennady Oster27-Nov-01 0:05 
GeneralCool. PinmemberMatt Philmon26-Nov-01 21:27 

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
Web02 | 2.8.150302.1 | Last Updated 26 Dec 2001
Article Copyright 2001 by Alex Fr
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid