|
virtual |
Called by the framework when a context menu should be displayed on one of the tabs (for MDI Tabbed Groups only).
Override this method in a CBCGPMDIFrameWnd - derived class.
It allows to display a popup menu when the user clicks on one of the tabs or drags and drops a tab on another tabbed groups.
NOTE. If you do not process OnShowMDITabContextMenu, the context menu won't be displayed. This function is generated by AppWizard when you enable MDI Tabbed Groups feature.
point | contains a point where to display the popup menu in screen coordinates |
dwAllowedItems | a combination of flags which indicates what actions are allowed for the current tab:
|
bTabDrop | if TRUE, then the menu is displayed as a result of dragging and dropping the tab on another tabbed group. If FALSE, the menu displayed as a context menu on the currently activated tab. NOTE. If you do not process OnShowMDITabContextMenu, the context menu won't be displayed. This function is generated by AppWizard when you enable MDI Tabbed Groups feature. |