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 tab attributes.
C
BOOL SftTabs_GetTabInfo(HWND hwndCtl, int iTab, LPSFTTABS_TAB lpTab);
C++
BOOL CSftTabs::GetTabInfo(int iTab, LPSFTTABS_TAB lpTab) const;
hwndCtl
The window handle of the tab control.
lpTab
A pointer to a SFTTABS_TAB structure. This structure will be updated with the specified tab's attributes.
The return value is TRUE if the function was successful, otherwise FALSE is returned.
The GetTabInfo function retrieves tab attributes.
Some of the structure values returned can be modified and updated using SetTabInfo. See SFTTABS_TAB for more information.
The function SftTabs_GetTabInfoEx and the LPSFTTABS_TAB_EX lpTabEx parameter of the GetTabInfo function are no longer available (see "Upgrading from Version 4.0").
This example retrieves the tab attributes for the third tab and modifies the background color:
C
SFTTABS_TAB Tab; SftTabs_GetTabInfo(hwndTab, 2, &Tab); Tab.colorBg = RGB(255, 0, 0); SftTabs_SetTabInfo(hwndTab, 2, &Tab);
C++
SFTTABS_TAB Tab; m_Tab.GetTabInfo(2, &Tab); Tab.colorBg = RGB(255, 0, 0); m_Tab.SetTabInfo(2, &Tab);
See Also C/C++ API | C++ Classes | Notifications