func (this *ListView) ImageList(imageListType int) *ImageList { h := w32.SendMessage(this.hwnd, w32.LVM_GETIMAGELIST, uintptr(imageListType), 0) if h == 0 { return nil } return &ImageList{w32.HIMAGELIST(h)} }
func (this *ListView) SetImageList(imageList *ImageList, imageListType int) *ImageList { h := w32.SendMessage(this.hwnd, w32.LVM_SETIMAGELIST, uintptr(imageListType), uintptr(imageList.Handle())) if h == 0 { return nil } return &ImageList{w32.HIMAGELIST(h)} }