TreeView_GetImageList  10HN_66 

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