###User Defined Function###
_GUICtrlListView_SetImageList

###Description###
Assigns an image list to the control

###Syntax###
#include <GuiListView.au3>
_GUICtrlListView_SetImageList ( $hWnd, $hHandle [, $iType = 0] )


###Parameters###
@@ParamTable@@
$hWnd
	Control ID/Handle to the control
$hHandle
	Handle to the image list to assign
$iType
	[optional] Type of image list:
		0 - Image list with large icons
		1 - Image list with small icons
		2 - Image list with state images
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	the handle to the previous image list.
Failure:	0.
@@End@@


###Remarks###
The current image list will be destroyed when the control is destroyed unless you set the $LVS_SHAREIMAGELISTS style. 
If you use this message to replace one image list with another your application must explicitly destroy all image lists other than the current one.


###Related###
_GUICtrlListView_GetImageList


###Example###
@@IncludeExample@@
