Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CListCtrl::SetImageList
Collapse the table of content
Expand the table of content

CListCtrl::SetImageList

Assigns an image list to a list view control.

CImageList* SetImageList(
   CImageList* pImageList,
   int nImageListType 
);

pImageList

Pointer to the image list to assign.

nImageListType

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.

A pointer to the previous image list.

See the example for CListCtrl::GetImageList.

Header: afxcmn.h

Community Additions

ADD
Show:
© 2015 Microsoft