有两种形式将HIMAGELIST绑定到listview控件
1.SendMessage(mlist,TVM_SETIMAGELIST,LVSIL_SMALL,(LPARAM)himl);
2.ListView_SetImageList(mlist, himl, LVSIL_SMALL);
在COMMCTRL中等价的两条语句
#define ListView_SetImageList(hwnd, himl, iImageList) \
(HIMAGELIST)(UINT)SNDMSG((hwnd), LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
如果用1显示不了图标,试试用2