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

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
 
M

Mick Doherty

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
 
T

tsgd84

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
 

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