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
Scrolls tabs in the direction specified.
C
int SftTabs_ScrollTabs(HWND hwndCtl, BOOL fUpOrLeft);
C++
int CSftTabs::ScrollTabs(BOOL fUpOrLeft);
hwndCtl
The window handle of the tab control.
fUpOrLeft
TRUE to scroll left (or up in a vertical tab control), FALSE to scroll right or down.
The return value is the index of the new leftmost (topmost) tab visible, or -1 if an error occurred.
The ScrollTabs function scrolls tabs in the direction specified.
ScrollTabs can only be used with scrollable tab controls. The members fLeftButton and fRightButton of the SFTTABS_CONTROL structure can be tested to see if scrolling in either direction is currently possible.
This example scrolls all tabs left by one position:
C
SftTabs_ScrollTabs(hwndTab, TRUE);
C++
m_Tab.ScrollTabs(TRUE);
See Also C/C++ API | C++ Classes | Notifications