tvGetItemText

Top  Previous  Next

Syntax

UINT = tvGetItemText(win as WINDOW,id as UINT,handle as UINT,strText as STRING,cchTextMax as UINT)

Description

Retrieves the text of an item in a tree view control.

Parameters

win - [in] Window or Dialog containing the control.

id - [in] Identifier of tree view control.

handle - [in] Handle to item.

strText - [out] String to store item text into.

cchTextMax -[in]  Maximum size of steText.

Return value

Returns TRUE (1) if successful, FALSE(0) on failure.

Remarks

See Also: tvSetItemText

Example usage

 tvGetItemText(mydlg, 17, hChild, A$, 255)