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); |