Compartilhar via


CMDIFrameWndEx::AreMDITabs

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

BOOL AreMDITabs(
   int* pnMDITabsType=NULL 
) const;

Parameters

  • [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.

Return Value

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

Returns FALSE if none of the above features is enabled.

Remarks

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.

Requirements

Header: afxMDIFrameWndEx.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart