Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library

Header File
commctrl.h
Unicode
No
Platform Notes
None

TreeView_GetImageList

The TreeView_GetImageList macro retrieves the handle to the normal or state image list associated with a tree-view control. You can use this macro or explicitly send the TVM_GETIMAGELIST message.

HIMAGELIST TreeView_GetImageList(

hwnd,

iImage

);

Parameters

hwnd

Handle to the image list.

iImage

Type of image list to retrieve. This parameter can be one of the following values:

Value
Meaning
TVSIL_NORMAL
Retrieves the normal image list, which contains the selected and unselected images for the tree-view item.
TVSIL_STATE
Retrieves the state image list, which contains the images for tree-view items that are in a user-defined state.

Return Values

Returns the handle to the image list.

See Also

TVM_GETIMAGELIST

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples