New icon. Couple of code changes linked to that. Just playing :)
Deleted: trunk/reactos/subsys/system/servman/res/applet.ico
Added: trunk/reactos/subsys/system/servman/res/system.ico
Modified: trunk/reactos/subsys/system/servman/servman.c
Modified: trunk/reactos/subsys/system/servman/servman.rc
_____
Deleted: trunk/reactos/subsys/system/servman/res/applet.ico
(Binary files differ)
_____
Added: trunk/reactos/subsys/system/servman/res/system.ico
(Binary files differ)
Property changes on: trunk/reactos/subsys/system/servman/res/system.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
_____
Modified: trunk/reactos/subsys/system/servman/servman.c
--- trunk/reactos/subsys/system/servman/servman.c 2006-01-05
23:43:49 UTC (rev 20599)
+++ trunk/reactos/subsys/system/servman/servman.c 2006-01-06
00:01:20 UTC (rev 20600)
@@ -91,9 +91,8 @@
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 @@
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))
_____
Modified: trunk/reactos/subsys/system/servman/servman.rc
--- trunk/reactos/subsys/system/servman/servman.rc 2006-01-05
23:43:49 UTC (rev 20599)
+++ trunk/reactos/subsys/system/servman/servman.rc 2006-01-06
00:01:20 UTC (rev 20600)
@@ -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"