CMDIFrameWndEx::EnableAutoHidePanes
TOC
Collapse the table of content
Expand the table of content

CMDIFrameWndEx::EnableAutoHidePanes

 

Enables auto-hide mode for panes when they are docked at the specified sides of the main frame window.

BOOL EnableAutoHidePanes(
   DWORD dwDockStyle 
);

[in] dwDockStyle

Specifies the sides of the main frame window that will be enabled. Use one or more of the following flags.

  • CBRS_ALIGN_LEFT

  • CBRS_ALIGN_RIGHT

  • CBRS_ALIGN_TOP

  • CBRS_ALIGN_BOTTOM

Call this function to enable auto-hide mode for panes when they are docked at the specified sides of the main frame window.

Example

The following example shows how the EnableAutoHidePanes method is used in the VisualStudioDemo Sample: MFC Visual Studio Application.

EnableAutoHidePanes(CBRS_ALIGN_ANY);

Requirements

Header: afxMDIFrameWndEx.h

Show:
© 2016 Microsoft