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
An application should return zero if it processes this message.
The DefWindowProc function returns zero.
DefWindowProc, WM_EXITMENULOOP
Comments: