CTreeCtrl::GetImageList

Call this member function to retrieve 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.

Syntax

CImageList* GetImageList( UINT nImage );

At a Glance

Header File Afxcmn.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CTreeCtrl Overview, CTreeCtrl Member Functions, Control Classes, CImageList, CTreeCtrl::SetImageList