Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WM_ENTERMENULOOP message

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


#define WM_ENTERMENULOOP                0x0211

Parameters

wParam

Specifies whether the window menu was entered using the TrackPopupMenu function. This parameter has a value of TRUE if the window menu was entered using TrackPopupMenu, and FALSE if it was not.

lParam

This parameter is not used.

Return value

An application should return zero if it processes this message.

Remarks

The DefWindowProc function returns zero.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
DefWindowProc
WM_EXITMENULOOP
Conceptual
Menus

 

 

Show:
© 2017 Microsoft