WM_ENTERMENULOOP

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

WM_ENTERMENULOOP

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.

See Also

DefWindowProc, WM_EXITMENULOOP