CWindow deskband; deskband.Create( L"button", hwndParent, CWindow::rcDefault, L"deskband", WS_CHILD | BS_ICON ); HICON hIcon = reinterpret_cast<HICON> LoadImage(0, IDI_EXCLAMATION, IMAGE_ICON, 0, 0, LR_SHARED)); deskband.SendMessageW(BM_SETIMAGE, IMAGE_ICON, reinterpret_cast<LPARAM>(hIcon));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)