download CTrayNotifyIcon 1.72

Author: Naughter Software
Date: 04/04/2020 07:04 AM
Size: 86.9 KB
License: Freeware
Requires: Win 10 / 8 / 7 / Vista / XP
Downloads: 2138 times

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 fully test the behavior of newly created system tray icons. The class hides a lot of the drudgery 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.
  • Supports all of the tray functionality right up to Windows 7 which was the last version of Windows where new features were added to the Tray Notification API.
  • 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.

ntray

 

Leave a Reply

Your email address will not be published. Required fields are marked *