Ignore high word of wParam when handling WM_COMMAND in the MessageBox

proc.
This commit is contained in:
Dmitry Timoshkov 2003-05-11 02:44:31 +00:00 committed by Alexandre Julliard
parent b922aad01f
commit bad473924c
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ static INT_PTR CALLBACK MSGBOX_DlgProc( HWND hwnd, UINT message,
}
case WM_COMMAND:
switch (wParam)
switch (LOWORD(wParam))
{
case IDOK:
case IDCANCEL: