Ignore high word of wParam when handling WM_COMMAND in the MessageBox
proc.
This commit is contained in:
parent
b922aad01f
commit
bad473924c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue