CMFCOutlookBarTabCtrl redrawing issues
-
So I'm using the CMFCOutlookBarTabCtrl control from the VC Feature pack. In it, I'm putting a couple of custom controls. Problem is that the controls aren't being redraw properly: after resizing the CMFCOutlookBarTabCtrl, they are white. I have trace messages in my OnPaint I know that that function is called. I watch the messages with Spy++, all goes well. When I put another control in the CMFCOutlookBarTabCtrl it works fine (standard windows control like a button but also for other custom controls). When I show the custom control outside of the CMFCOutlookBarTabCtrl it works fine, too. So it looks like my control is being drawn over after its WM_PAINT handler has been called. Oh, when I put in a WM_MOUSEMOVE handler and do an Invalidate() in there, it works too. Anyone who is still with me after this description and who has an idea on how I could go about debugging this? Thanks.