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
Returns the length of a column's header text.
C
int WINAPI SftTree_GetHeaderLength(HWND hwndCtl); int SftTree_GetHeaderColLength(HWND hwndCtl, int realCol); int WINAPI SftTreeSplit_GetHeaderLength(HWND hwndCtl); int SftTreeSplit_GetHeaderColLength(HWND hwndCtl, int realCol);
C++
int CSftTree::GetHeaderLen() const; int CSftTreeSplit::GetHeaderLen(int realCol) const;
hwndCtl
The window handle of the tree control.
realCol
The zero-based column number whose text length is to be retrieved.
GetHeaderLen returns the length of the specified column's header text in characters, not including the terminating '\0' or -1 if an error occurred.
The GetHeaderLength function returns the length of a column's header text.
The header text length retrieved is based on the column specified using realCol or last defined using SetAccessColumn. Functions, which do not allow the realCol parameter, access the column last defined by SetAccessColumn or the last column referenced by a column specific function. The last column accessed can be retrieved using GetAccessColumn.
See Also C/C++ API | Categories | Notifications