CListCtrl::SetImageList

CImageList*SetImageList(CImageList*pImageList,intnImageList**);**

Return Value

A pointer to the previous image list.

Parameters

pImageList

Pointer to the image list to assign.

nImageList

Type of image list. It can be one of these values:

  • LVSIL_NORMAL   Image list with large icons.

  • LVSIL_SMALL   Image list with small icons.

  • LVSIL_STATE   Image list with state images.

Remarks

Assigns an image list to a list view control.

Example

See the example for CListCtrl::GetImageList.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CImageList, CListCtrl::GetImageList