共用方式為


CDockingManager::EnableAutoHidePanes

Enables docking of the pane to the main frame, creates a dock pane, and adds it to the list of control bars.

BOOL EnableAutoHidePanes(
   DWORD dwStyle
);

Parameters

  • [in] dwStyle
    The docking alignment.

Return Value

TRUE if the dock pane was created successfully; FALSE otherwise.

Requirements

Header: afxdockingmanager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart