|
|
|
ShowTruncated |
Defines whether text is clipped or truncated using trailing "...".
C
BOOL WINAPI SftTree_GetShowTruncated(HWND hwndCtl); void WINAPI SftTree_SetShowTruncated(HWND hwndCtl, BOOL fSet); BOOL WINAPI SftTreeSplit_GetShowTruncated(HWND hwndCtl); void WINAPI SftTreeSplit_SetShowTruncated(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftTree::GetShowTruncated() const; void CSftTree::SetShowTruncated(BOOL fSet = TRUE); BOOL CSftTreeSplit::GetShowTruncated() const; void CSftTreeSplit::SetShowTruncated(BOOL fSet = TRUE);
Parameters
hwndCtl
The window handle of the tree control.
fSet
Set to TRUE to display truncated text using trailing "...", otherwise set to FALSE.
Returns
GetShowTruncated returns TRUE if text is clipped or truncated using trailing "...", otherwise FALSE is returned.
Comments
The GetShowTruncated and SetShowTruncated functions define whether text is clipped or truncated using trailing "...".
The display method defined using SetShowTruncated applies to all text components in a tree control. By setting it to TRUE, text that is too large (horizontally) to fit in the space allocated will be truncated by showing trailing periods ("..."). If set to FALSE, text will be clipped if too large and displayed in the available area.
See Also C/C++ API | Categories | Notifications