-
March 30th, 2009, 04:55 AM
#1
ownerdrawn Ctabctrl with themes
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 ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|