How to determine the CListCtrl item height ?
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hi, What is the best place to dertermine the item height of a CListCtrl item in report mode, even when there are no items present yet and how exactly is it done ? tia.
Have you looked at CListCtrl::GetItemRect(...)?
-
Hi, What is the best place to dertermine the item height of a CListCtrl item in report mode, even when there are no items present yet and how exactly is it done ? tia.
create a CImagelist for this list control. then call SetImageList with LVSIL_STATE , the image height is item height.
Are you have gtalk ? please add me: xiangyangzhao@gmail.com