Retrieves the number of tabs in a tab control.
C
int SftTabs_GetCount(HWND hwndCtl);
C++
int CSftTabs::GetCount() const;
hwndCtl
The window handle of the tab control.
The return value is the number of tabs defined in the tab control. The return value is -1 if an error occurred.
The GetCount function retrieves the number of tabs in a tab control.
This example retrieves the number of tabs:
C
total = SftTabs_GetCount(hwndTab);
C++
total = m_Tab.GetCount();
See Also C/C++ API | C++ Classes | Notifications