Graphisoft®

Dialog ManagerVersion: 2.0

TreeView::GetItemText

Retrieves the text of an item.

long GetItemText (
    long                tvItem,
    char *              text,
    long                size
) const;

Parameters

tvItem
ID of the tree view item.
text
Pointer to buffer to receive the text. This parameter can be NULL.
size
Size of the text buffer. If text is NULL, this parameter is ignored.

Return Value

The length of the item text (including the 0 terminator), or 0 if size is less than the size of the item text.

Description

Retrieves the text of an item. Use NULL for the text parameter to determine the necessary buffer size.