This method 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.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
afx_msg void OnInitMenuPopup ( CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu );
There is no system menu in Windows CE, so the value of the bSystemMenu parameter is always FALSE.