framework2: Tabcontrol xp style with drawmode OwnerDrawFixed? Orred tabpage text without OwnerDrawFi

  • Thread starter Thread starter =?ISO-8859-1?Q?Roland_M=FCller?=
  • Start date Start date
?

=?ISO-8859-1?Q?Roland_M=FCller?=

Hello Group,

i want to use a tabcontrol with drawmode OwnerDrawFixed
(framework2/vs2005) AND the xp style not the flat, grey, ugly windows
2000 style.

But as soon as i change the drawmode to OwnerDrawFixed the xp style
disappears.

Is there any possibility?

Why need i OwnerDrawFixed? Because i want to make the (top) text color
of a tabpage red. I cannot do this without OwnerDrawFixed am i right?


Thanks for answers, Roland.
 
Thanks for your answer. We do not like using foreign controls. But
thanks anyway.
In my opinion this should be possible with the framework build in
tabcontrol.
 
I understand your concerns and agree that you should have the option to
ownerdraw the tab content without having to ownerdraw the tab.

TabControlEX is an Inherited TabControl with a lot of modifications and is
written in VB.net, so it is possible to do, but it requires a fair amount of
work. If you would like to have a go and need a starting point, then look at
the tips on my site:
http://www.dotnetrix.co.uk/tabcontrols.html
....specifically the "A Completely OwnerDraw TabControl." example.
 
Back
Top