Using 24bit Bitmap images with CListCtrl's Virtual List
Posted on 2006-05-08
I was using a list control to show online data on it. The data comes very fast and i was showing Data as well as image of 24 bit. but it flickers the view since i was custom drawing for each data.
To minimize this flickering, now i am using virtual list of list control for fast retreival of data. it has a tremendous improovment, but there is one problem, it does show the 24bit bitmap on it. it converts it into grey color.
can anybody help me to sort out this problem?
For more information i am using
CListCtrl::OnGetDispInfo(NMHDR* pNMHDR, LRESULT* pResult) [ for fill up the virtual list]
CListCtrl::SetItemCount(int nCount) [ for set the number of rows to display ]
Thanks in advance