Remove the WM_LBUTTONUP message from the queue after selecting a mouse
menu item.
This commit is contained in:
parent
ebe29ef376
commit
46c4d39853
|
@ -2651,7 +2651,7 @@ static INT MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
|
||||||
|
|
||||||
/* End the loop if executedMenuId is an item ID */
|
/* End the loop if executedMenuId is an item ID */
|
||||||
/* or if the job was done (executedMenuId = 1). */
|
/* or if the job was done (executedMenuId = 1). */
|
||||||
fEndMenu = (executedMenuId != 0);
|
fEndMenu = fRemove = (executedMenuId != 0);
|
||||||
}
|
}
|
||||||
/* No menu was selected by the mouse */
|
/* No menu was selected by the mouse */
|
||||||
/* if the function was called by TrackPopupMenu, continue
|
/* if the function was called by TrackPopupMenu, continue
|
||||||
|
|
Loading…
Reference in New Issue