Tab control with custom draw?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I want to make the flat control (2D look) instead of (3D), I can draw a rectangle or changing the color using custom draw
(DRAWITEMSTRUCT)
but the changes behind the tab as the picture below, the black is my rectangle http://social.msdn.microsoft.com/Forums/getfile/305523[Tab control 1 ] I have changed my rectangle to OPAQUE but still the same thing By the way the whole tab has that (3D), I have no idea why?? http://social.msdn.microsoft.com/Forums/getfile/305526[Tab control 2] Can I remove that 3D look from the tab control? And if the DRAWCUSTOM should deal with that Why my rectangle behind the tab it supposed to be on it for covering that tab? Edit: using
TCS_faltbutton
and
TCS_BUTTONS
does not solve this