<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > TreeView Control > TreeView Control Commands > TreeView_GetSelect |
Description
Returns the handle of the data item currently selected in the treeview control.
Syntax
hItemSelected = Treeview_GetSelect(hWnd, ctrlID)
Returns
Number
If there is no current selection, the value zero (0) is assigned.
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
Handle of the dialog containing the control |
ctrlID |
Number |
No |
Control identifier assigned to the control during CONTROL ADD ... |
Remarks
Restrictions
See also
Examples