mirror of
https://github.com/reactos/packmgr.git
synced 2024-11-26 21:30:29 +00:00
fix icon loading
replace help icon with tango one use dot.ico from explorer as default icon svn path=/trunk/rosapps/packmgr/; revision=78
This commit is contained in:
parent
21e0d2f279
commit
126cfb7279
@ -167,7 +167,7 @@ void InitControls (HWND hwnd)
|
||||
hPopup = LoadMenu(hinst, MAKEINTRESOURCE(IDR_POPUP));
|
||||
|
||||
// Create Tree Icons
|
||||
HIMAGELIST hIcon = ImageList_Create(16,16,ILC_COLOR32,1,1);
|
||||
HIMAGELIST hIcon = ImageList_Create(16, 16, ILC_MASK|ILC_COLOR32, 1, 1);
|
||||
SendMessage(hTree, TVM_SETIMAGELIST, TVSIL_NORMAL, (LPARAM)(HIMAGELIST)hIcon);
|
||||
|
||||
ImageList_AddIcon(hIcon, LoadIcon(hinst, MAKEINTRESOURCE(1)));
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Loading…
Reference in New Issue
Block a user