CTreeCtrl::GetImageList

This method retrieves the handle to the image list associated with the tree view control. Each item in a tree view control can have a pair of bitmapped images associated with it. One image is displayed when the item is selected, and the other is displayed when the item is not selected. For example, an item might display an open folder when it is selected and a closed folder when it is not selected.

At a Glance

Header file: Afxcmn.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions:: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

CImageList* GetImageList( UINT nImage );

See Also

CImageList, CTreeCtrl::SetImageList