|
trayicon
Note: DFL has its own tray icon
class named NotifyIcon.
This module contains a nice class named TrayIcon that makes using tray icons really simple. Download here. Here's an example:
TrayIcon ti = new TrayIcon(hwParent, 1, hicon, "my tray icon!");
ti.show();
This class contains other useful members such as tip to get and set the tooltip text, icon to get and set the icon, and hide.
Other functions in this module are: animation returns boolean value indicating if the Windows maximize/minimize animations are enabled; area to obtain the tray notification area in screen coordinates; minimize to minimize the window to the tray notification area, using animation (if enabled); and restore to restore the window from the tray notification area, using animation (if enabled).
|