BOOL CBCGPRibbonFloaty::ShowWithContextMenu | ( | int | x, |
int | y, | ||
UINT | uiMenuResID, | ||
CWnd * | pWndOwner | ||
) |
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 |
uiMenuResID | Specifies the resource ID of the context menu to show. |
pWndOwner | Identifies the window which receives the messages from the context menu. |