void CBCGPMDIFrameWnd::EnableMDITabs | ( | BOOL | bEnable = TRUE , |
BOOL | bIcons = TRUE , |
||
CBCGPTabWnd::Location | tabLocation = CBCGPTabWnd::LOCATION_BOTTOM , |
||
BOOL | bTabCloseButton = FALSE , |
||
CBCGPTabWnd::Style | style = CBCGPTabWnd::STYLE_3D_SCROLLED , |
||
BOOL | bTabCustomTooltips = FALSE , |
||
BOOL | bActiveTabCloseButton = FALSE |
||
) |
Enables the MDI frame window to show tabs for each MDI child window.
Call this member function to enable or disable the MDI frame window to show tabs for the MDI child windows.
The tabs can be located at the top or bottom of the frame, according to the third parameter tabLocation. You may specify either CBCGTabWnd::LOCATION_BOTTOM (the default) or CBCGTabWnd::LOCATION_TOP values. If bTabCustomTooltips is TRUE, the BCGM_ON_GET_TAB_TOOLTIP message will be sent to main frame. You can handle this message and provide the framework with custom tooltips to be displayed for MDI tabs.
bEnable | Specifies whether the tabs enabled (TRUE) or disabled (FALSE) |
bIcons | Specifies whether the document icons should be displayed on the tabs (TRUE) or not. |
tabLocation | Specifies the location of the tabs. |
bTabCloseButton | Specifies if the tab close button is present. |
style | Specifies the style of MDITabs. Use STYLE_3D_SCROLLED for the regular style or STYLE_3D_ONENOTE for Microsoft OneNote style. |
bTabCustomTooltips | Specifies whether custom tooltips are enabled or disabled. |
bActiveTabCloseButton | If TRUE, a close button will be displayed on active tab instead of right top corner of tab area. |