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:
- CamStudio project. Using invisible window to capture mouse events on the whole screen.
- Chris Maunder. Adding Icons to the System Tray.
- Chris Maunder. Creating an application with no taskbar icon.
- Jeffrey Richter. Programming Applications for Microsoft Windows. Microsoft Press 1999. Appendix B. Message Crackers.
History
26 Dec 2001:
- Redrawing problem in Windows 95, 98, reported by PJ Arends.
- 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)
'C & C++ > MFC 컨트롤' 카테고리의 다른 글
[Dialog] 투명 다이얼로그 (0) | 2011.04.26 |
---|---|
[Dialog] Dialog 스킨 입히기 (0) | 2011.04.26 |
[ScrollBar] Custom ScrollBar Library (0) | 2011.04.26 |
[Dialog] Sliding DialogBar (0) | 2011.04.26 |
[Tip] Selecting iCon (0) | 2011.04.26 |
댓글