SECMDIFrameWnd::OnExtendContextMenu
LRESULTSECMDIFrameWnd::OnExtendContextMenu(WPARAMwParam, LPARAMlParam)
The SECControlBar::OnContextMenu member function sends the WM_EXTENDCONTEXTMENU message to the application’s main frame after creating the default context menu. Trap this message if you wish to customize the context menu. To customize the menu, simply cast the wParam parameter to an SECControlBar type and the lParam parameter to an CMenu type and modify the menu using the CMenu operations.
Defined in: swinmdi.cpp
Return Value
LRESULT
Parameters
wParam
An opaque pointer to the SECControlBar which is about to display a context menu.
lParam
An opaque pointer to the default CMenu which the SECControlBar has constructed prior to sending the WM_EXTENDCONTEXTMENU message.
See Also
SECControlBar::OnExtendContextMenu