tvGetSelectedItem

Top  Previous  Next

Syntax

UINT = tvGetSelectedItem(win as WINDOW,id as UINT)

Description

Returns a handle to the selected item in a tree view control.

Parameters

win - Window or dialog containing the control.

id - Identifier of the tree view control.

Return value

Handle to selected item or NULL if no item is currently selected.

Remarks

See Also: tvSelectItem

Example usage

hItem = tvGetSelectedItem(mydlg, 17)