Thread: System Tray
View Single Post
Old 08-10-03, 04:40 PM   #4 (permalink)
compman
Aximsite Rookie
 
Join Date: Aug 2003
Posts: 48
Thanked 0 Times in 0 Posts
Well I have the NOTIFYICONDATA structure done and stuff but Shell_NotifyIcon dosn't display anything in the taskbar.... seeing as I'm getting no examples, perhaps my noobish code will point out the problem... lol

Code:
n_icondat.hIcon = LoadIcon(g_hInst, MAKEINTRESOURCE(IDI_FIREWALL));
n_icondat.uFlags = NIF_ICON | NIF_MESSAGE;
n_icondat.uCallbackMessage = WM_ACTIVATE;
n_icondat.hWnd = g_hwndCB;
n_icondat.cbSize = sizeof(n_icondat);
Shell_NotifyIcon(NIM_ADD, &n_icondat);
__________________
-Compman
compman is offline   Reply With Quote