Click here to Skip to main content
11,631,710 members (74,950 online)
Click here to Skip to main content

Magnifying Glass

, 25 Dec 2001 CPOL 194.3K 3.3K 81
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)

Share

About the Author

5678901234
Antarctica Antarctica
No Biography provided

You may also be interested in...

Comments and Discussions

 
GeneralDosent work correctly with dual screens Pin
Bob100015-Oct-09 14:55
memberBob100015-Oct-09 14:55 
GeneralCompile error Pin
Bob100015-Oct-09 14:44
memberBob100015-Oct-09 14:44 
GeneralRapid clicking causes weird effect... Pin
are_all_nicks_taken_or_what22-Sep-09 23:31
memberare_all_nicks_taken_or_what22-Sep-09 23:31 
QuestionUse it in a freeware ? Pin
vincennes22-Sep-08 22:31
membervincennes22-Sep-08 22:31 
AnswerRe: Use it in a freeware ? Pin
Alex Fr24-Sep-08 8:10
memberAlex Fr24-Sep-08 8:10 
GeneralLive updating Pin
dazzyboy17-Sep-08 3:56
memberdazzyboy17-Sep-08 3:56 
GeneralRe: Live updating Pin
Alex Fr18-Sep-08 19:13
memberAlex Fr18-Sep-08 19:13 
JokeGreat! Pin
megaadam5-May-06 4:05
membermegaadam5-May-06 4:05 
GeneralMagnification for text in image Pin
harsha vardhan18-Feb-06 19:05
memberharsha vardhan18-Feb-06 19:05 
QuestionHow would I keep the mouse functionality... Pin
barcibus25-Apr-03 7:16
memberbarcibus25-Apr-03 7:16 
AnswerRe: How would I keep the mouse functionality... Pin
Alex Farber26-Apr-03 20:04
memberAlex Farber26-Apr-03 20:04 
GeneralRe: How would I keep the mouse functionality... Pin
barcibus26-Apr-03 21:40
memberbarcibus26-Apr-03 21:40 
GeneralVery nice !! Pin
WREY6-Feb-03 1:13
memberWREY6-Feb-03 1:13 
GeneralCorrection Pin
Alex Farber28-Jan-03 20:19
memberAlex Farber28-Jan-03 20:19 
GeneralRe: Correction Pin
WREY4-Feb-03 2:23
memberWREY4-Feb-03 2:23 
GeneralRe: Correction Pin
Alex Farber4-Feb-03 2:40
memberAlex Farber4-Feb-03 2:40 
GeneralBug found Pin
Remon28-Jan-03 9:09
memberRemon28-Jan-03 9:09 
GeneralRe: Bug found Pin
Alex Farber28-Jan-03 18:55
memberAlex Farber28-Jan-03 18:55 
General... and then the code was stolen! Pin
apppp17-Dec-02 23:42
sussapppp17-Dec-02 23:42 
GeneralGreat work. One suggestion. Pin
Todd Smith2-Jan-02 20:53
memberTodd Smith2-Jan-02 20:53 
GeneralRendering HTML files in hidden window Pin
Pat O'Neil2-Jan-02 12:51
memberPat O'Neil2-Jan-02 12:51 
GeneralRe: Rendering HTML files in hidden window Pin
Todd Smith2-Jan-02 18:30
memberTodd Smith2-Jan-02 18:30 
GeneralRe: Rendering HTML files in hidden window Pin
jofrasier2-Jan-02 22:46
memberjofrasier2-Jan-02 22:46 
Questionzoom+ instead? Pin
Anonymous131-Dec-01 1:25
memberAnonymous131-Dec-01 1:25 
AnswerRe: zoom+ instead? Pin
Anonymous17-May-02 11:35
memberAnonymous17-May-02 11: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
Web02 | 2.8.150723.1 | Last Updated 26 Dec 2001
Article Copyright 2001 by 5678901234
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid