mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
use application icon for about dialog
svn path=/trunk/; revision=41883
This commit is contained in:
parent
73972e4928
commit
0937dce274
2 changed files with 6 additions and 2 deletions
|
@ -641,9 +641,12 @@ MainWndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
|
|||
break;
|
||||
|
||||
case IDM_ABOUT:
|
||||
ShellAbout(hwnd, szAppTitle, 0, 0);
|
||||
{
|
||||
HICON mplayIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MAIN));
|
||||
ShellAbout(hwnd, szAppTitle, 0, mplayIcon);
|
||||
DeleteObject(mplayIcon);
|
||||
break;
|
||||
|
||||
}
|
||||
case IDM_EXIT:
|
||||
PostMessage(hwnd, WM_CLOSE, 0, 0);
|
||||
return 0;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<library>comdlg32</library>
|
||||
<library>kernel32</library>
|
||||
<library>user32</library>
|
||||
<library>gdi32</library>
|
||||
<library>winmm</library>
|
||||
<library>shell32</library>
|
||||
<file>mplay32.c</file>
|
||||
|
|
Loading…
Reference in a new issue