Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CMDIFrameWndEx::EnableAutoHidePanes
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.

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

	EnableAutoHidePanes(CBRS_ALIGN_ANY);

Header: afxMDIFrameWndEx.h

Show:
© 2015 Microsoft