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

Requirement Value
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