dialog taskbar icon
i cant set the small icon for my dialog. here is what i have tried.
but it just makes a blank space in the taskbar next to the dialog name. Any ideas?
HICON hIcon = LoadIcon(Instance, MAKEINTRESOURCE(IDI_ICON));
if(hIcon == NULL)
sprintf(str, "%i", GetLastError());
MessageBox(hwnd_main, str, "NOTE", MB_OK);
SendMessage(hDlg, WM_SETICON, ICON_SMALL, (LPARAM)hIcon);
Ok....are you sure the icon is created correctly?....
The code looks ok.....
Here's an example I just did to test this with a dailog.......its written for VC++.....have a look and see if there is anything really different....
Would help if I posted the code & stuff..!!..
i thought that the taskbar icon was a 16x16 :) and i hadnt made one yet :)