mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
New icon. Couple of code changes linked to that. Just playing :)
svn path=/trunk/; revision=20600
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB |
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"
|
||||
|
||||
Reference in New Issue
Block a user