Why is my ClistView CImageList set inside the header ( column ) , but do not show up ?

Category: VC/MFC -> Foundation Classes Author: lvguohai Date: 2014-12-14 10:05:45
 
lvguohai
2014-12-14 10:05:45
My view class is inherited from CListView , my list of components by using a CImageList
InsertColumn insert columns , the return value is normal, that does not show up
style is : dwStyle   | =   LVS_EX_FULLROWSELECT   |   LVS_EX_GRIDLINES   |   LVS_EX_HEADERDRAGDROP   |   LVS_EX_TRACKSELECT;
with InsertItem, SetItemText the time it was a little strange , all the Item in the first row ~~~
originally
column name 1       column names 2
abc             12
cba             23

now :
abc     cba
what is the reason?
zwjhaoa
2014-12-14 10:23:53
does not also mean
me 20 minutes later they want out, wasted everyone time
guojiewei1
2014-12-14 10:30:00
okay, there are answers like, knot posted it .