mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
winetest: Set the window small icon.
This commit is contained in:
parent
099890106c
commit
5b32b11e10
@ -433,8 +433,9 @@ DlgProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
switch (msg) {
|
||||
case WM_INITDIALOG:
|
||||
SendMessage (hwnd, WM_SETICON, ICON_SMALL,
|
||||
(LPARAM)LoadIcon (GetModuleHandle (NULL),
|
||||
MAKEINTRESOURCE (IDI_WINE)));
|
||||
(LPARAM)LoadImage( GetModuleHandle (NULL), MAKEINTRESOURCE (IDI_WINE), IMAGE_ICON,
|
||||
GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON),
|
||||
LR_SHARED ));
|
||||
SendMessage (hwnd, WM_SETICON, ICON_BIG,
|
||||
(LPARAM)LoadIcon (GetModuleHandle (NULL),
|
||||
MAKEINTRESOURCE (IDI_WINE)));
|
||||
|
Loading…
Reference in New Issue
Block a user