This member function is called by the framework when a pop-up menu is about to become active. This allows an application to modify the pop-up menu before it is displayed without changing the entire menu.
afx_msg void OnInitMenuPopup ( CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
There is no system menu in Windows CE, so the value of the bSystemMenu parameter is always FALSE.
CWnd Overview, CWnd Member Functions, Window Class Categories