BCGControlBar Pro for MFC
virtual BOOL CBCGPWorkspace::ShowPopupMenu ( UINT  uiMenuResId,
const CPoint &  point,
CWnd *  pWnd 
)
virtual

Displays a popup menu.

Returns
Nonzero if the popup menu was displayed successfully. It will be 0 if the global CBCGPContextMenuManager object is NULL or the menu can't be created.

Call this function to display a popup menu. It redirects the call to the CBCGPContextMenuManager object.

Parameters
uiMenuResIdA menu resource ID.
pointSpecifies the menu position in screen coordinates.
pWndIdentifies the window that owns the pop-up menu.