共用方式為


CDockablePane::ShowPane

Shows or hides a pane.

virtual void ShowPane(
    BOOL bShow,
    BOOL bDelay,
    BOOL bActivate
);

Parameters

  • [in] bShow
    TRUE to show the pane; FALSE to hide the pane.

  • [in] bDelay
    TRUE to delay adjusting the docking layout; FALSE to adjust the docking layout immediately.

  • [in] bActivate
    TRUE to activate the pane when shown; otherwise, FALSE.

Remarks

Call this method instead of the CWnd::ShowWindow when showing or hiding dockable panes.

Requirements

Header: afxDockablePane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart