Returns an item's row header text length.
C
int WINAPI SftBox_GetRowTextLength(HWND hwndCtl, LONG indexTC);
C++
int CSftBox::GetRowTextLength(LONG indexTC) const;
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.
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.
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