Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
I'm using the Win32 API on Windows XP with Visual Studio 2008. I have a program that uses XP Visual Styles. We have tabbed dialogs that are rather large (think Visual Studio IDE tabbed interface).

When the tab property page gets too large (mainly in height), the gradient fill of the XP Visual Styles stops and you can see an obvious cutoff point where the gradient stops and you're left with the remainder of the bottom of the tab property page a solid color.

Is there some limitation to this visual style? If so, is there a way to custom draw and work around this? Never done a custom drawn control before, so any help there would be appreciated, if I have to go that route...:confused:

Thanks,
Posted

1 solution

you need to draw it per the DrawThemeBackground API of the theme dll.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900