Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves a pointer to the first visible tab.
virtual CWnd* GetFirstVisibleTab(
int& iTabNum
);
virtual CWnd* GetFirstVisibleTab(
int iStartFrom,
int& iTabNum
);
Parameters
[out] iTabNum
A reference to an integer. This method writes the zero-based index of the first visible tab to this parameter.[in] iStartFrom
The zero-based index of the first tab to check.
Return Value
A pointer to the first visible tab if successful; otherwise NULL.
Remarks
If this method fails, it writes the value -1 to iStartFrom.
If iStartFrom is larger than or equal to the number of tabs in the tab control, GetFirstVisibleTab automatically fails.
Requirements
Header: afxbasetabctrl.h