Send correct WM_MENUSELECT when menu closes.

This commit is contained in:
Dennis Björklund 1999-09-19 18:28:35 +00:00 committed by Alexandre Julliard
parent be1cee7244
commit 4352c7a9d0
1 changed files with 1 additions and 1 deletions

View File

@ -2781,7 +2781,7 @@ static INT MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
uSubPWndLevel = 0; uSubPWndLevel = 0;
} }
MENU_SelectItem( mt.hOwnerWnd, mt.hTopMenu, NO_SELECTED_ITEM, FALSE ); MENU_SelectItem( mt.hOwnerWnd, mt.hTopMenu, NO_SELECTED_ITEM, FALSE );
SendMessageA( mt.hOwnerWnd, WM_MENUSELECT, MAKELONG(0,0), 0xffff ); SendMessageA( mt.hOwnerWnd, WM_MENUSELECT, MAKELONG(0,0xffff), 0 );
} }
/* Reset the variable for hiding menu */ /* Reset the variable for hiding menu */