user32: Use symbolic names for values returned by WM_MENUCHAR handler.

This commit is contained in:
Dmitry Timoshkov 2011-04-11 13:44:53 +09:00 committed by Alexandre Julliard
parent fc4014454b
commit a859e73d5f

View file

@ -1464,7 +1464,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
return 0;
case WM_MENUCHAR:
return 0x00010000; /* MDI children don't have menu bars */
return MAKELRESULT( 0, MNC_CLOSE ); /* MDI children don't have menu bars */
case WM_CLOSE:
SendMessageW( client, WM_MDIDESTROY, (WPARAM)hwnd, 0 );