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

Displays a popup menu.

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.

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