New icon. Couple of code changes linked to that. Just playing :)

svn path=/trunk/; revision=20600
This commit is contained in:
Ged Murphy 2006-01-06 00:01:20 +00:00
parent e340f98fca
commit a7c21d9dbf
4 changed files with 3 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -91,9 +91,8 @@ GetServices ( void )
GetSystemMetrics(SM_CYSMICON), ILC_MASK, 1, 1);
/* Add an icon to each image list */
hiconItem = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_SM_ICON));
hiconItem = LoadImage(hInstance, MAKEINTRESOURCE(IDI_SM_ICON), IMAGE_ICON, 16, 16, 0);
ImageList_AddIcon(hSmall, hiconItem);
DestroyIcon(hiconItem);
ListView_SetImageList(hListView, hSmall, LVSIL_SMALL);
@ -574,7 +573,7 @@ int WINAPI WinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance,
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
wc.lpszMenuName = MAKEINTRESOURCE(IDR_MAINMENU);
wc.lpszClassName = ClassName;
wc.hIconSm = (HICON)LoadImage(GetModuleHandle(NULL),
wc.hIconSm = (HICON)LoadImage(hInstance,
MAKEINTRESOURCE(IDI_SM_ICON), IMAGE_ICON, 16, 16, 0);
if(!RegisterClassEx(&wc))

View file

@ -10,7 +10,7 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
IDI_SM_ICON ICON "res/applet.ico"
IDI_SM_ICON ICON "res/system.ico"
#include "En.rc"
#include "De.rc"