Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

RowTextLength

Returns an item's row header text length.

C

int WINAPI SftTree_GetRowTextLength(HWND hwndCtl, int index);
int WINAPI SftTreeSplit_GetRowTextLength(HWND hwndCtl, int index);

C++

int CSftTree::GetRowTextLen(int index) const;
int CSftTreeSplit::GetRowTextLen(int index) const;

Parameters

hwndCtl

The window handle of the tree control.

index

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' or -1 if an error occurred.

Comments

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

Row headers are made visible using SetShowRowHeader.

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