can i set the height of the item in CListViewCtrl and add a image for every item?
ATL / WTL / STL
3
Posts
3
Posters
0
Views
1
Watching
-
i didn't find any metohod in CListViewCtrl that can set the height of the item, can someone tell me how to do it? thanks in advance
-
i didn't find any metohod in CListViewCtrl that can set the height of the item, can someone tell me how to do it? thanks in advance
The simpliest way is to use image list, like the following: m_ImageList.Create(1,20,ILC_COLOR,1,1); // set height to 20 pixels m_List.SetImageList(&m_ImageList,LVSIL_SMALL);
-
i didn't find any metohod in CListViewCtrl that can set the height of the item, can someone tell me how to do it? thanks in advance