Partilhar via


CMFCOutlookBar::CanAcceptPane

Determines whether another pane can be docked to the Outlook bar pane.

virtual BOOL CanAcceptPane(
   const CBasePane* pBar
) const;

Parameters

  • [in] pBar
    A pointer to another pane that is being docked to this pane. 

Return Value

TRUE if another pane can be docked to the Outlook bar pane; otherwise FALSE.

Remarks

If the Outlook bar is in Outlook 2003 mode, docking is not supported, so the return value is FALSE.

If the pBar parameter is NULL, this method returns FALSE.

Otherwise, this method behaves as the base method CBasePane::CanAcceptPane, except that even if docking is not enabled, an Outlook bar can still enable another Outlook bar to be docked over it.

Requirements

Header: afxoutlookbar.h

See Also

Reference

CMFCOutlookBar Class

Hierarchy Chart