I am trying to put a bitmap background for my list view controls. I have a solution for report view with LVS_OWNERDRAWFIXED style, by overwriting function DrawItem of class CListView.
However for big icon view, the function DrawItem() of CListCtrl or CListView won't get called. So I overwrite the OnPaint() function to repaint everything. It basically works, but I got a lot of problems-- such as the device context is not right, and it blinks annoyingly when I click on the client area. I believe it's not the right way to do it, I think it'd better to tell the parent the visual aspect of the list view has changed so that DrawItem can be called, but I don't know how.
If anyone has some experience on this, please give me some idea, I'd appreciate your help. Thank you in advance.