Share via


WM_ENTERMENULOOP (Compact 2013)

3/28/2014

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

Syntax

WM_ENTERMENULOOP fIsTrackPopupMenu = (BOOL) wParam;

Parameters

  • fIsTrackPopupMenu
    Boolean that specifies whether the window menu was entered using the TrackPopupMenu function. Set to TRUE if the window menu was entered using TrackPopupMenu, or to FALSE if it was not.

Return Value

An application should return zero if it processes this message.

Remarks

The DefWindowProc function returns zero.

Requirements

Header

winuser.h

See Also

Reference

Menu Messages
DefWindowProc
TrackPopupMenu
WM_EXITMENULOOP