uLib
User mode C/C++ extended API library for Win32 programmers.
|
Tray related utilities... (ShellUtil.cpp)
Functions | |
void | InitTaskbarSupport () |
BOOL | SetTrayIconNotification (UINT Action, HWND hNfy, UINT Id, HICON hIcon, CSTR Hint, UINT cbkMsg=WM_APP) |
Variables | |
UINT | WM_TaskbarCreated |
void InitTaskbarSupport | ( | ) |
Register the TaskbarCreated message, et cetera.
For 'TaskbarCreated' to work on Vista and later, it must be unblocked from User Interface Privilege Isolation.
InitTaskbarSupport does this if you build uLib with WINVER >= 0x0600.
Definition at line 576 of file ShellUtil.cpp.
BOOL SetTrayIconNotification | ( | UINT | Action, |
HWND | hNfy, | ||
UINT | Id, | ||
HICON | hIcon, | ||
CSTR | Hint, | ||
UINT | cbkMsg = WM_APP |
||
) |
SetTrayIconNotification is a simplified wrap for Shell_NotifyIcon, supporting a single icon,
standard tool tip, and classic lParam notifications (e.g. WM_LBUTTONDOWN).
Definition at line 607 of file ShellUtil.cpp.
UINT WM_TaskbarCreated |
Registered TaskbarCreated message.
See InitTaskbarSupport()
Definition at line 562 of file ShellUtil.cpp.