Share via


CBaseTabbedPane::FindBarByTabNumber

Returns a pane that resides in a tab.

virtual CWnd* FindBarByTabNumber(
    int nTabNum,
    BOOL bGetWrappedBar = FALSE
);

Parameters

  • [in] nTabNum
    Specifies the zero-based index of the tab to retrieve.

  • [in] bGetWrappedBar
    TRUE to return the underlying (wrapped) window of the pane instead of the pane itself; otherwise FALSE. This only applies to panes derived from CDockablePaneAdapter.

Return Value

If the pane is found, then a valid pointer to the pane being searched for is returned; otherwise, NULL.

Remarks

Call this method to retrieve the pane residing in the tab specified by the nTabNum parameter.

Requirements

Header: afxBaseTabbedPane.h

See Also

Reference

CBaseTabbedPane Class

Hierarchy Chart