Tab Caption disappears, if I change the windows classic theme towindows xp theme using visual studio

  • Thread starter Thread starter tsgd84
  • Start date Start date
T

tsgd84

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
 
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
 
Thanks Mike.

That works nicely


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
 
Back
Top