当设置了LVSIL_SMALL(小图标列表)时Report风格才会显示图标CListCtrl::SetImageList This method assigns an image list to a list view control.CImageList* SetImageList( CImageList* pImageList, int nImageListType ); Parameters pImageList Specifies the pointer to the image list to assign. nImageListType Specifies the 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. Return Value
This method assigns an image list to a list view control.CImageList* SetImageList(
CImageList* pImageList,
int nImageListType );
Parameters
pImageList
Specifies the pointer to the image list to assign.
nImageListType
Specifies the 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.
Return Value