I use an ownerdrawn Ctabctrl . In the original version, in
CMyTabCtrl:rawItem ,
there was a
pDC->FillSolidRect(rect, ::GetSysColor(COLOR_BTNFACE));
Later when using themes on Windows XP, I only deleted this line, and everything was fine.
XP has drawn the themed background, and I have drawn the text and the bitmap.
But on vista this seem not to work. Is that a difference between XP and vista, and I have to draw the themed background on vista myself ?