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

Magnifying Glass

, 25 Dec 2001
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

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, 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 14:55 
GeneralCompile error PinmemberBob100015-Oct-09 14:44 
GeneralRapid clicking causes weird effect... Pinmemberare_all_nicks_taken_or_what22-Sep-09 23:31 
QuestionUse it in a freeware ? Pinmembervincennes22-Sep-08 22:31 
AnswerRe: Use it in a freeware ? PinmemberAlex Fr24-Sep-08 8:10 
GeneralLive updating Pinmemberdazzyboy17-Sep-08 3:56 
GeneralRe: Live updating PinmemberAlex Fr18-Sep-08 19:13 
JokeGreat! Pinmembermegaadam5-May-06 4:05 
GeneralMagnification for text in image Pinmemberharsha vardhan18-Feb-06 19:05 
QuestionHow would I keep the mouse functionality... Pinmemberbarcibus25-Apr-03 7:16 
AnswerRe: How would I keep the mouse functionality... PinmemberAlex Farber26-Apr-03 20:04 
GeneralRe: How would I keep the mouse functionality... Pinmemberbarcibus26-Apr-03 21:40 
GeneralVery nice !! PinmemberWREY6-Feb-03 1:13 
GeneralCorrection PinmemberAlex Farber28-Jan-03 20:19 
GeneralRe: Correction PinmemberWREY4-Feb-03 2:23 
GeneralRe: Correction PinmemberAlex Farber4-Feb-03 2:40 
GeneralBug found PinmemberRemon28-Jan-03 9:09 
GeneralRe: Bug found PinmemberAlex Farber28-Jan-03 18:55 
General... and then the code was stolen! Pinsussapppp17-Dec-02 23:42 
GeneralGreat work. One suggestion. PinmemberTodd Smith2-Jan-02 20:53 
GeneralRendering HTML files in hidden window PinmemberPat O'Neil2-Jan-02 12:51 
GeneralRe: Rendering HTML files in hidden window PinmemberTodd Smith2-Jan-02 18:30 
GeneralRe: Rendering HTML files in hidden window Pinmemberjofrasier2-Jan-02 22:46 
Questionzoom+ instead? PinmemberAnonymous131-Dec-01 1:25 
AnswerRe: zoom+ instead? PinmemberAnonymous17-May-02 11:35 
GeneralExcellent Work ! PinmemberGarth J Lancaster30-Dec-01 10:18 
GeneralRe: Excellent Work ! PinmemberAlex Farber30-Dec-01 20:31 
GeneralOops... PinmemberCKL26-Dec-01 23:53 
GeneralRe: Oops... PinmemberAlex Farber27-Dec-01 0:00 
QuestionUse GetDC(NULL)??? PinmemberAno26-Dec-01 13:10 
AnswerRe: Use GetDC(NULL)??? PinmemberTim Smith26-Dec-01 13:14 
GeneralRe: Use GetDC(NULL)??? PinmemberChristian Graus26-Dec-01 13:27 
GeneralRe: Use GetDC(NULL)??? PinmemberTim Smith30-Dec-01 11:18 
GeneralRe: Use GetDC(NULL)??? Pinmemberarchimedean4-May-03 4:40 
GeneralRe: Use GetDC(NULL)??? PinmemberChristopher Fairbairn29-Jun-04 5:06 
GeneralGreat Tool!! PinmemberPJ Arends23-Dec-01 8:20 
GeneralRe: Great Tool!! PinmemberPJ Arends26-Dec-01 19:19 
GeneralRe: Great Tool!! PinmemberAlex Farber26-Dec-01 19:21 
GeneralTop PinmemberDylan Kenneally26-Nov-01 22:50 
GeneralIf the program is not compiled... PinmemberAlex Farber26-Nov-01 20:47 
GeneralRe: If the program is not compiled... PinmemberGennady Oster26-Nov-01 23:05 
GeneralCool. PinmemberMatt Philmon26-Nov-01 20: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 | Mobile
Web03 | 2.8.140721.1 | Last Updated 26 Dec 2001
Article Copyright 2001 by Alex Fr
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid