Click here to Skip to main content
Licence CPOL
First Posted 24 Nov 2001
Views 165,351
Bookmarked 70 times

Magnifying Glass

By | 25 Dec 2001 | Article
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

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralDosent work correctly with dual screens PinmemberBob100014:55 15 Oct '09  
GeneralCompile error PinmemberBob100014:44 15 Oct '09  
GeneralRapid clicking causes weird effect... Pinmemberare_all_nicks_taken_or_what23:31 22 Sep '09  
QuestionUse it in a freeware ? Pinmembervincennes22:31 22 Sep '08  
AnswerRe: Use it in a freeware ? PinmemberAlex Fr8:10 24 Sep '08  
GeneralLive updating Pinmemberdazzyboy3:56 17 Sep '08  
GeneralRe: Live updating PinmemberAlex Fr19:13 18 Sep '08  
JokeGreat! Pinmembermegaadam4:05 5 May '06  
Thanx!
 
A very pretty little utility for all of us in GUI develeopment. I bet Chris Maunder would have loved it during his "hours of squinting at pixels" while working on his superbly fantastic CGridCtrl. Well done!
 
_____________________________________
Action without thought is not action
Action without emotion is not life
GeneralMagnification for text in image Pinmemberharsha vardhan19:05 18 Feb '06  
QuestionHow would I keep the mouse functionality... Pinmemberbarcibus7:16 25 Apr '03  
AnswerRe: How would I keep the mouse functionality... PinmemberAlex Farber20:04 26 Apr '03  
GeneralRe: How would I keep the mouse functionality... Pinmemberbarcibus21:40 26 Apr '03  
GeneralVery nice !! PinmemberWREY1:13 6 Feb '03  
GeneralCorrection PinmemberAlex Farber20:19 28 Jan '03  
GeneralRe: Correction PinmemberWREY2:23 4 Feb '03  
GeneralRe: Correction PinmemberAlex Farber2:40 4 Feb '03  
GeneralBug found PinmemberRemon9:09 28 Jan '03  
GeneralRe: Bug found PinmemberAlex Farber18:55 28 Jan '03  
General... and then the code was stolen! Pinsussapppp23:42 17 Dec '02  
GeneralGreat work. One suggestion. PinmemberTodd Smith20:53 2 Jan '02  
GeneralRendering HTML files in hidden window PinmemberPat O'Neil12:51 2 Jan '02  
GeneralRe: Rendering HTML files in hidden window PinmemberTodd Smith18:30 2 Jan '02  
GeneralRe: Rendering HTML files in hidden window Pinmemberjofrasier22:46 2 Jan '02  
Questionzoom+ instead? PinmemberAnonymous11:25 31 Dec '01  
AnswerRe: zoom+ instead? PinmemberAnonymous11:35 17 May '02  

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.

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