onerdrawn CTabCtrl with themes, different XP vs. vista?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I use an ownerdrawn Ctabctrl . In the original version, in CMyTabCtrl::DrawItem , 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 ?