mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
New icon. Couple of code changes linked to that. Just playing :)
svn path=/trunk/; revision=20600
This commit is contained in:
parent
e340f98fca
commit
a7c21d9dbf
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB |
BIN
reactos/subsys/system/servman/res/system.ico
Normal file
BIN
reactos/subsys/system/servman/res/system.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
|
@ -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))
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue