Export (0) Print
Expand All
Expand Minimize

CMDIFrameWndEx::AreMDITabs

Determines whether the MDI tabs feature or the MDI tabbed groups feature is enabled.

BOOL AreMDITabs(
   int* pnMDITabsType=NULL 
) const;

[out] pnMDITabsType

A pointer to an integer variable that indicates which features are enabled:

  • 0: All features are disabled.

  • 1: MDI tabs is enabled.

  • 2: MDI tabbed groups is enabled.

Returns TRUE if MDI tabs or MDI tabbed groups is enabled.

Returns FALSE if none of the above features is enabled.

Use this function to determine whether MDI tabs or MDI tabbed groups is enabled for the frame window. Use CMDIFrameWndEx::EnableMDITabs to enable or disable the MDI tabs feature.

Use CMDIFrameWndEx::EnableMDITabbedGroups to enable or disable the MDI tabbed groups feature.

Header: afxMDIFrameWndEx.h

Show:
© 2014 Microsoft