TreeView_SetImageList

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > TreeView Control > TreeView Control Commands >

TreeView_SetImageList

 

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