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
Sets tab control attributes.
C
BOOL SftTabs_SetControlInfo(HWND hwndCtl, LPCSFTTABS_CONTROL lpCtl);
C++
BOOL CSftTabs::SetControlInfo(LPCSFTTABS_CONTROL lpCtl);
hwndCtl
The window handle of the tab control.
lpCtl
A pointer to a SFTTABS_CONTROL structure. This structure will be used to define the new tab control attributes.
The return value is TRUE if the function was successful, otherwise FALSE is returned.
The SetControlInfo function sets tab control attributes.
If the SFTTABS_CONTROL structure defines a tab control that is invalid, the current tab control settings remain unchanged and the function returns FALSE. The following validations take place to insure that a tab control is valid:
This example retrieves the current tab control attributes and modifies the number of tab rows:
C
SFTTABS_CONTROL Ctl; SftTabs_GetControlInfo(hwndTab, &Ctl); Ctl.nRows = 1; SftTabs_SetControlInfo(hwndTab, &Ctl);
C++
SFTTABS_CONTROL Ctl; m_Tab.GetControlInfo(&Ctl); Ctl.nRows = 1; m_Tab.SetControlInfo(&Ctl);
See Also C/C++ API | C++ Classes | Notifications