WM_EXITMENULOOP

The WM_EXITMENULOOP message informs an application's main window procedure that a menu modal loop has been exited.

WM_EXITLOOP 
wParam = (BOOL) fIsTrackPopupMenu    // flags a shortcut menu 
lParam = 0 ;                         // not used; must be zero 
 

Parameters

fIsTrackPopupMenu
Specifies whether the menu involved is a shortcut menu. This parameter has a value of TRUE if it is a shortcut menu, FALSE if it isn't.

Return Values

An application should return zero if it processes this message.

Remarks

The DefWindowProc function returns zero.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 1.0 or later.
  Header: Declared in winuser.h.

See Also

Menus Overview, Menu Messages, DefWindowProc, WM_ENTERMENULOOP