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:
Maarten Bosma 2006-01-21 17:37:04 +00:00
parent 21e0d2f279
commit 126cfb7279
3 changed files with 1 additions and 1 deletions

View File

@ -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