SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Retrieves the count of visible tabs.
C
int SftTabs_GetVisibleCount(HWND hwndCtl);
C++
int CSftTabs::GetVisibleCount() const;
hwndCtl
The window handle of the tab control.
The return value is the count of visible tabs. The return value is -1 if an error occurred.
The GetVisibleCount function retrieves the count of visible tabs.
A hidden tab is never displayed and can be defined using the SFTTABS_TAB structure, fHidden member. Its tab page is completely hidden also and the user cannot make the tab visible. Only the application can make a hidden tab visible. This is not equivalent to a tab that is currently not visible because the tab may have scrolled off the edge of the control.
Hidden tabs are best used in situations where certain groups of users should not have access to all tabs of a tab control, without being aware that additional tabs may exist.
This example retrieves the number of visible tabs:
C
total = SftTabs_GetVisibleCount(hwndTab);
C++
total = m_Tab.GetVisibleCount();
See Also C/C++ API | C++ Classes | Notifications