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
Defines the row/column header text.
These functions are provided for compatibility with older releases - use RowColHeaderText instead
C
int SftTree_GetRowColText(HWND hwndCtl, LPTSTR lpszBuffer, int cbMax); int WINAPI SftTree_GetRowColText_A(HWND hwndCtl, LPSTR lpszBuffer, int cbMax); int WINAPI SftTree_GetRowColText_W(HWND hwndCtl, LPWSTR lpszBuffer, int cbMax); BOOL SftTree_SetRowColText(HWND hwndCtl, LPCTSTR lpszBuffer); BOOL WINAPI SftTree_SetRowColText_A(HWND hwndCtl, LPCSTR lpszBuffer); BOOL WINAPI SftTree_SetRowColText_W(HWND hwndCtl, LPCWSTR lpszBuffer); int WINAPI SftTreeSplit_GetRowColText(HWND hwndCtl, LPTSTR lpszBuffer, int cbMax); int WINAPI SftTreeSplit_GetRowColText_A(HWND hwndCtl, LPSTR lpszBuffer, int cbMax); int WINAPI SftTreeSplit_GetRowColText_W(HWND hwndCtl, LPWSTR lpszBuffer, int cbMax); BOOL WINAPI SftTreeSplit_SetRowColText(HWND hwndCtl, LPCTSTR lpszBuffer); BOOL WINAPI SftTreeSplit_SetRowColText_A(HWND hwndCtl, LPCSTR lpszBuffer); BOOL WINAPI SftTreeSplit_SetRowColText_W(HWND hwndCtl, LPCWSTR lpszBuffer);
C++
void CSftTree::GetRowColText(CString& string) const; int CSftTree::GetRowColText(LPTSTR lpszBuffer, int cbMax) const; BOOL CSftTree::SetRowColText(LPCTSTR lpszBuffer); void CSftTreeSplit::GetRowColText(CString& string) const; int CSftTreeSplit::GetRowColText(LPTSTR lpszBuffer, int cbMax) const; BOOL CSftTreeSplit::SetRowColText(LPCTSTR lpszBuffer);
hwndCtl
The window handle of the tree control.
lpszBuffer
A pointer to a buffer where the row/column header text will be returned (GetRowColText) or a buffer containing the new row/column header text (SetRowColText).
string
A reference to a CString object, where the row/column header text will be returned.
cbMax
The maximum number of characters to be returned in the buffer pointed to by lpszBuffer, including the terminating '\0'.
GetRowColText returns the number of characters returned in the buffer, not including the terminating '\0'. If the buffer is too small to receive the complete header text, the text is truncated. -1 is returned if an error occurred.
SetRowColText returns TRUE if the function was successful, otherwise FALSE is returned.
These functions are provided for compatibility with older releases - use RowColHeaderText instead
The GetRowColText and SetRowColText functions define the row/column header text.
RowColHeaderTextLength can be used to determine the required lpszBuffer size.
Row/column header text may contain multiple lines of text, delimited using cr-lf (\r\n), based on the settings defined using MultilineHeader and it must contain the same or fewer lines of text as defined for all column headers.
The row/column header area is only shown if row headers and column headers are both shown (see SetShowRowHeader and SetShowHeader).
See Also C/C++ API | Categories | Notifications