CBasePane::CanAcceptPane

确定另一个窗格是否可以停靠到窗格。

virtual BOOL CanAcceptPane(
   const CBasePane* pBar 
) const;

参数

  • [in] pBar
    为停靠窗格的指针。

返回值

TRUE,如果另一个窗格中可接受;否则 FALSE。

备注

它停靠 pBar 指定的窗格将当前窗格之前,框架调用此方法。

使用此方法和 CBasePane::CanBeDocked 方法控件窗格如何停靠到应用程序的其他窗格。

默认实现返回 FALSE。

要求

标头: afxbasepane.h

请参见

参考

CBasePane选件类

层次结构图