Message removed when menu tracking finish on a WM_LBUTTONDOWN.

This commit is contained in:
Pascal Lessard 1999-09-20 18:27:14 +00:00 committed by Alexandre Julliard
parent d05b7beb5a
commit 445c910e89
1 changed files with 2 additions and 2 deletions

View File

@ -2234,7 +2234,7 @@ static BOOL MENU_ButtonDown( MTRACKER* pmt, HMENU hPtMenu )
return TRUE; return TRUE;
} }
else WARN("\tunable to find clicked item!\n"); /* Else the click was on the menu bar, finish the tracking */
} }
return FALSE; return FALSE;
} }
@ -2633,7 +2633,7 @@ static INT MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
/* fall through */ /* fall through */
case WM_LBUTTONDBLCLK: case WM_LBUTTONDBLCLK:
case WM_LBUTTONDOWN: case WM_LBUTTONDOWN:
fEndMenu |= !MENU_ButtonDown( &mt, hmenu ); fRemove = fEndMenu = !MENU_ButtonDown( &mt, hmenu );
break; break;
case WM_RBUTTONUP: case WM_RBUTTONUP: