BOOL CBCGPRibbonFloaty::ShowWithContextMenu | ( | int | x, |
int | y, | ||
HMENU | hMenu, | ||
CWnd * | pWndOwner, | ||
BOOL | bAutoDestroyMenu = TRUE |
||
) |
Displays floaty along with context menu.
Use this function to display floaty along with context menu. Context menu is displayed below the floaty at constant offset 15 pixels.
x | Specifies the horizontal position of the context menu in screen coordinates |
y | Specifies the vertical position of the context menu in screen coordinates |
hMenu | Handle of the context menu to show. |
pWndOwner | Identifies the window which receives the messages from the context menu. |
bAutoDestroyMenu | TRUE to automatically destroy menu. |