CTrayNotifyIcon 1.77

Published by

CTrayNotifyIcon is a free MFC/WTL (Microsoft Foundation Class/Windows Template Library) class app for creating and testing tray icon functionality.
CTrayNotifyIcon is a free MFC/WTL (Microsoft Foundation Class/Windows Template Library) class app for creating and testing tray icon functionality.

CTrayNotifyIcon allows you to test the newly created system tray icons' behavior fully. The class hides a lot of the struggle of calling the API directly and provides a nice clean C++ interface. Overloaded member functions are provided to set and get the ToolTip text, icon, and notification window. The class also provides a default implementation to bring up a context menu and provides a default menu item that is executed when you double click the icon. The class also provides auto cleanup and resurrection of icons if the shell unexpectedly crashes.

CTrayNotifyIcon Features:

All code compiles cleanly at warning level 4 and is /analyze and /permissive- clean.
Hides the complexity of having to deal with the messy NOTIFYICONDATA structure and all its various quirks, which you probably will be familiar with if you have coded directly to the "Shell_NotifyIcon" API.


  Download