Share via


CBasePane::CanBeAttached

Determines whether the pane can be docked to another pane or frame window.

virtual BOOL CanBeAttached() const;

Return Value

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

Remarks

The default implementation returns FALSE. Override this method in a derived class to enable or disable the ability to dock without calling CBasePane::EnableDocking.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart