다음을 통해 공유


CDockablePane::CanBeAttached

Determines whether the current pane can be docked to another pane.

virtual BOOL CanBeAttached() const;

Return Value

TRUE if the dockable pane can be docked to another pane or to the main frame window; otherwise, FALSE.

Remarks

By default, this method always returns TRUE. Override this method in a derived class to enable or disable docking without calling CBasePane::EnableDocking.

Requirements

Header: afxDockablePane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart