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 length of a tab's ToolTip text.
C
int SftTabs_GetToolTipLen(HWND hwndCtl, int iTab);
C++
int CSftTabs::GetToolTipLen(int iTab) const;
hwndCtl
The window handle of the tab control.
iTab
The zero-based index of the tab for which the ToolTip text length is to be retrieved.
The return value is the length of the tab's ToolTip text, not including the terminating '\0' or -1 if an error occurred.
The GetToolTipLen function retrieves the length of a tab's ToolTip text.
When using the UNICODE, the number returned is the number of wide characters, not the number of bytes.
This example retrieves the length of the tenth tab's ToolTip text:
C
len = SftTabs_GetToolTipLen(hwndTab, 9);
C++
len = m_Tab.GetToolTipLen(9);
See Also C/C++ API | C++ Classes | Notifications