共用方式為


CDockablePane::SetAutoHideParents

Sets the auto-hide button and auto-hide toolbar for the pane.

void SetAutoHideParents(
   CMFCAutoHideBar* pToolBar,
   CMFCAutoHideButton* pBtn
);

Parameters

  • [in] pToolBar
    Pointer to an auto-hide toolbar.

  • [in] pBtn
    Pointer to an auto-hide button.

Requirements

Header: afxdockablepane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart

CMFCAutoHideBar Class

CMFCAutoHideButton Class