HeaderPane
Main
Hide
Share Link
Print

RowTextLength

Returns an item's row header text length.

C

int WINAPI SftBox_GetRowTextLength(HWND hwndCtl, LONG indexTC);

C++

int CSftBox::GetRowTextLength(LONG indexTC) const;

Parameters

hwndCtl

The window handle of the combo box control.

indexTC

The zero-based index of the item for which the row header text length is to be retrieved.

Returns

The return value is the length of the specified item's row header text in characters, not including the terminating '\0'. 0 is returned if the item has no row header text, -1 is returned if the item index is invalid.

Comments

The GetRowTextLength function returns an item's row header text length.

The row header text is defined using SetRowText and can be retrieved using GetRowText.

Row headers are made visible using SetShowRowHeader.

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


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