Share via


CMFCBaseTabCtrl::GetTabID

Retrieves the ID for a tab specified by the tab index.

int GetTabID(
   int iTab
) const;

Parameters

  • [in] iTab
    The zero-based index of the tab.

Return Value

An ID of the tab or -1 if iTab is out of range.

Requirements

Header: afxbasetabctrl.h

See Also

Reference

CMFCBaseTabCtrl Class

Hierarchy Chart