Export (0) Print
Expand All
Expand Minimize

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:
© 2014 Microsoft