CListCtrl CustomDraw/OnCtlColor Quandary
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I have a CListCtrl derived control on a dialog using the report style. The dialog has a BMP as a background. Using SetBkColor and SetTextBkColor I have made the CListCtrl transparent, allowing the BMP background to show through. This works correctly, with one exception, the first column. This first column is not drawn transparently, but is instead drawn with a black background. All other columns are drawn transparently. I have attempted to force this cell to be drawn transparently by handling the NV_CUSTOMDRAW and WM_CTLCOLOR messages, but have so far been unsuccessful. Am I on the right track here, or am I missing something obvious?