C & C++/MFC 컨트롤
[Tip] 돋보기
izen8
2011. 4. 26. 10:42
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)