共用方式為


CFrameWndEx::AddPane

Registers a control bar with the docking manager.

BOOL AddPane(
   CBasePane* pControlBar,
   BOOL bTail=TRUE 
);

Parameters

  • [in] pControlBar
    A control bar pane to register.

  • [in] bTail
    TRUE if you want to add the control bar pane to the end of the list; FALSE otherwise.

Return Value

TRUE if the control bar was successfully registered; FALSE otherwise.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart