ListView_SetImageListListView_SetImageList*
*Contents  *Index  *Topic Contents
*Previous Topic: ListView_SetIconSpacing
*Next Topic: ListView_SetItem

ListView_SetImageList


HIMAGELIST ListView_SetImageList(
    HWND hwnd, 		
    HIMAGELIST himl, 		
    int iImageList		
);		

Assigns an image list to a list view control. You can use this macro or send the LVM_SETIMAGELIST message explicitly.

hwnd
Handle to the list view control.
himl
Handle to the image list to assign.
iImageList
Type of image list. This parameter can be one of the following values:
LVSIL_NORMAL Image list with large icons.
LVSIL_SMALL Image list with small icons.
LVSIL_STATE Image list with state images.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.