HeaderPane
Main
Hide
Share Link
Print

ShowTruncated

Defines whether text is clipped or truncated using trailing "...".

C

BOOL WINAPI SftBox_GetShowTruncated(HWND hwndCtl);
void WINAPI SftBox_SetShowTruncated(HWND hwndCtl, BOOL fSet);

C++

BOOL CSftBox::GetShowTruncated() const;
void CSftBox::SetShowTruncated(BOOL fSet);

Parameters

hwndCtl

The window handle of the combo box control.

fSet

Set to TRUE to display truncated text using trailing "...", otherwise set to FALSE.

Returns

GetShowTruncated returns TRUE if text is 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 the dropdown portion and the static portion of the combo box. 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.

When a combo box control is created, text is truncated using trailing "...".

See Also C/C++ API | Categories | Notifications


Last Updated 11/21/2026 - (email)
© 2026 Softel vdm, Inc.