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

TreeView_SetImageList

Previous pageReturn to chapter overviewNext page

 

Description

 

The ImageList specified by hImageList is attached to this Treeview control.

The images it contains are displayed as needed with each data item.

 

Syntax

 

Treeview_SetImagelist(hWnd, ctrlID, hImageList)

 

Returns

 

None

 

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 ...

hImageList

Number

No

Handle of a ImageList to be attached to the control

 

Remarks

 

When the Treeview control is destroyed, any attached Imagelist is automatically destroyed.

 

Restrictions

 

See also

 

Examples