Поделиться через


CMFCOutlookBar::FloatTab

Floats a pane.

virtual BOOL FloatTab(
   CWnd* pBar,
   int nTabID,
   AFX_DOCK_METHOD dockMethod,
   BOOL bHide
);

Parameters

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

  • [in] nTabID
    The zero-based index of the tab to float.

  • [in] dockMethod
    Specifies the method to use to make the pane float. For more information, see CBaseTabbedPane::FloatTab.

  • [in] bHide
    TRUE to hide the pane before floating; otherwise, FALSE. Unlike the base class version of this method, this parameter does not have a default value.

Return Value

TRUE if the pane floated; otherwise, FALSE.

Remarks

This method is like CBaseTabbedPane::FloatTab except that it does not enable the last remaining tab on an Outlook bar control to float.

Requirements

Header: afxoutlookbar.h

See Also

Reference

CMFCOutlookBar Class

Hierarchy Chart