Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > TreeView Control >

TreeView_GetRoot

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the item handle of the very first data item (topmost) in a treeview control.

 

Syntax

 

hRoot = Treeview_GetRoot(hWnd, ctrlID)

 

Returns

 

Number

 

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