Hi all,

I have a dialog with a tab contorl with tab property "vertical" set to
true. Now if I change the theme from windows classic to windows xp
theme, the caption of the tab disappears. Is there any way to retain
the tabs caption in windows xp theme mode with tabs in vertical
alignment.

Thanx in advance

Re: Tab Caption disappears, if I change the windows classic theme to windows xp theme using visual studio 2005 by Mick

Mick
Fri May 09 04:07:43 CDT 2008

TabControl only supports Visual Styles with Top Alignment.

You can turn off visual Styles for the TabControl by pinvoking
SetWindowTheme.
You can ownerDraw the tabcontrol (Skybound VisualStyles will do this for
you).
Or you can use a third party TabControl such as one of the two free controls
on my site:
http://www.dotnetrix.co.uk/controls.html

--
Mick Doherty
http://www.dotnetrix.co.uk/nothing.html


"tsgd84" <tsgd84@gmail.com> wrote in message
news:4a06a337-655b-4202-a610-9c5a7d545c76@w34g2000prm.googlegroups.com...
> Hi all,
>
> I have a dialog with a tab contorl with tab property "vertical" set to
> true. Now if I change the theme from windows classic to windows xp
> theme, the caption of the tab disappears. Is there any way to retain
> the tabs caption in windows xp theme mode with tabs in vertical
> alignment.
>
> Thanx in advance



Re: Tab Caption disappears, if I change the windows classic theme to by tsgd84

tsgd84
Wed Jun 11 02:45:27 CDT 2008

Thanks Mike.

That works nicely


On May 9, 2:07 pm, "Mick Doherty"
<EXCHANGE#W...@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]>
wrote:
> TabControl only supports Visual Styles with Top Alignment.
>
> You can turn off visual Styles for the TabControl by pinvoking
> SetWindowTheme.
> You can ownerDraw the tabcontrol (Skybound VisualStyles will do this for
> you).
> Or you can use a third party TabControl such as one of the two free controls
> on my site:http://www.dotnetrix.co.uk/controls.html
>
> --
> Mick Dohertyhttp://www.dotnetrix.co.uk/nothing.html
>
> "tsgd84" <tsg...@gmail.com> wrote in message
>
> news:4a06a337-655b-4202-a610-9c5a7d545c76@w34g2000prm.googlegroups.com...
>
> > Hi all,
>
> > I have a dialog with a tab contorl with tab property "vertical" set to
> > true. Now if I change the theme from windows classic to windows xp
> > theme, the caption of the tab disappears. Is there any way to retain
> > the tabs caption in windows xp theme mode with tabs in vertical
> > alignment.
>
> > Thanx in advance