Click here to Skip to main content
Licence CPOL
First Posted 24 Nov 2001
Views 162,567
Downloads 1,879
Bookmarked 70 times

Magnifying Glass

By Alex Fr | 25 Dec 2001
A magnifying glass activated from the system tray.
2 votes, 13.3%
1

2
1 vote, 6.7%
3
1 vote, 6.7%
4
11 votes, 73.3%
5
4.86/5 - 35 votes
2 removed
μ 4.60, σa 2.52 [?]

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 PinmemberBob100015:55 15 Oct '09  
GeneralCompile error PinmemberBob100015:44 15 Oct '09  
GeneralRapid clicking causes weird effect... Pinmemberare_all_nicks_taken_or_what0:31 23 Sep '09  
QuestionUse it in a freeware ? Pinmembervincennes23:31 22 Sep '08  
AnswerRe: Use it in a freeware ? PinmemberAlex Fr9:10 24 Sep '08  
GeneralLive updating Pinmemberdazzyboy4:56 17 Sep '08  
GeneralRe: Live updating PinmemberAlex Fr20:13 18 Sep '08  
JokeGreat! Pinmembermegaadam5:05 5 May '06  
GeneralMagnification for text in image Pinmemberharsha vardhan20:05 18 Feb '06  
QuestionHow would I keep the mouse functionality... Pinmemberbarcibus8:16 25 Apr '03  
AnswerRe: How would I keep the mouse functionality... PinmemberAlex Farber21:04 26 Apr '03  
GeneralRe: How would I keep the mouse functionality... Pinmemberbarcibus22:40 26 Apr '03  
GeneralVery nice !! PinmemberWREY2:13 6 Feb '03  
GeneralCorrection PinmemberAlex Farber21:19 28 Jan '03  
GeneralRe: Correction PinmemberWREY3:23 4 Feb '03  
GeneralRe: Correction PinmemberAlex Farber3:40 4 Feb '03  
GeneralBug found PinmemberRemon10:09 28 Jan '03  
GeneralRe: Bug found PinmemberAlex Farber19:55 28 Jan '03  
General... and then the code was stolen! Pinsussapppp0:42 18 Dec '02  
GeneralGreat work. One suggestion. PinmemberTodd Smith21:53 2 Jan '02  
GeneralRendering HTML files in hidden window PinmemberPat O'Neil13:51 2 Jan '02  
GeneralRe: Rendering HTML files in hidden window PinmemberTodd Smith19:30 2 Jan '02  
GeneralRe: Rendering HTML files in hidden window Pinmemberjofrasier23:46 2 Jan '02  
Questionzoom+ instead? PinmemberAnonymous12:25 31 Dec '01  
AnswerRe: zoom+ instead? PinmemberAnonymous12: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
Web02 | 2.5.120210.1 | Last Updated 26 Dec 2001
Article Copyright 2001 by Alex Fr
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid