BCGControlBar Pro for MFC
BOOL CBCGPRibbonFloaty::ShowWithContextMenu ( int  x,
int  y,
UINT  uiMenuResID,
CWnd *  pWndOwner 
)

Displays floaty along with context menu.

Returns
Returns TRUE if the context menu was displayed successfully; otherwise FALSE.

Use this function to display floaty along with context menu. Context menu is displayed below the floaty at constant offset 15 pixels.

Parameters
xSpecifies the horizontal position of the context menu in screen coordinates
ySpecifies the vertical position of the context menu in screen coordinates
uiMenuResIDSpecifies the resource ID of the context menu to show.
pWndOwnerIdentifies the window which receives the messages from the context menu.