CDockablePane::CanAcceptPane
Determines whether another pane can be docked to the current pane.
virtual BOOL CanAcceptPane(
const CBasePane* pBar
) const;
Parameters
- [in] pBar
Specifies the pane to dock to the current pane.
Return Value
TRUE if the specified pane can be docked to this pane; otherwise, FALSE.
Remarks
The framework calls this method before a pane is docked to the current pane.
Override this function in a derived class to enable or disable docking to a specific pane.
By default, this method returns TRUE if either pBar or its parent is of type CDockablePane.
Requirements
Header: afxDockablePane.h