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

  • Thread starter =?ISO-8859-1?Q?Roland_M=FCller?=
  • 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.
 
?

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

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.
 
M

Mick Doherty

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top