Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the index of a tab based on a tab ID.
virtual int GetTabByID(
int id
) const;
Parameters
- [in] id
A tab ID.
Return Value
The zero-based index of a tab if it is found; -1 if the tab ID is not found.
Remarks
The tab IDs are assigned automatically when tabs are added to a tab control.
Requirements
Header: afxbasetabctrl.h