CWnd::OnInitMenuPopup

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.

Syntax

afx_msg void OnInitMenuPopup ( CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

There is no system menu in Windows CE, so the value of the bSystemMenu parameter is always FALSE.

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories