Udostępnij za pośrednictwem


CBasePane::CanAcceptPane

Determines whether another pane can be docked to the pane.

virtual BOOL CanAcceptPane(
   const CBasePane* pBar 
) const;

Parameters

  • [in] pBar
    A pointer to the pane to dock.

Return Value

TRUE if another pane can be accepted; otherwise FALSE.

Remarks

The framework calls this method before it docks the pane specified by pBar to the current pane.

Use this method and the CBasePane::CanBeDocked method to control how panes dock to other panes in your application.

The default implementation returns FALSE.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart