SftTree/DLL 6.5

ShowTruncated

Softel vdm, Inc.

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.

Information specific to SftTree/DLL Windows Mobile EditionWindows Mobile Edition:  This property may have no effect, depending on Windows Mobile version used. In that case text does not use trailing "...", instead it is simply clipped. 

See Also  C/C++ API  |  CategoriesNotifications

 


Feedback / comments / error reports for this topic
© 2009 - Softel vdm, Inc. - www.softelvdm.com