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) {
|
switch (msg) {
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
SendMessage (hwnd, WM_SETICON, ICON_SMALL,
|
SendMessage (hwnd, WM_SETICON, ICON_SMALL,
|
||||||
(LPARAM)LoadIcon (GetModuleHandle (NULL),
|
(LPARAM)LoadImage( GetModuleHandle (NULL), MAKEINTRESOURCE (IDI_WINE), IMAGE_ICON,
|
||||||
MAKEINTRESOURCE (IDI_WINE)));
|
GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON),
|
||||||
|
LR_SHARED ));
|
||||||
SendMessage (hwnd, WM_SETICON, ICON_BIG,
|
SendMessage (hwnd, WM_SETICON, ICON_BIG,
|
||||||
(LPARAM)LoadIcon (GetModuleHandle (NULL),
|
(LPARAM)LoadIcon (GetModuleHandle (NULL),
|
||||||
MAKEINTRESOURCE (IDI_WINE)));
|
MAKEINTRESOURCE (IDI_WINE)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user