Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.