共用方式為


CPane::DockByMouse

Docks a pane by using the mouse.

virtual BOOL DockByMouse(
   CBasePane* pDockBar
);

Parameters

  • [in] pDockBar
    Specifies the base pane to which to dock this pane.

Return Value

TRUE if the pane was docked successfully; otherwise, FALSE.

Requirements

Header: afxpane.h

See Also

Reference

CPane Class

Hierarchy Chart