XP Style controls

Add-in Express™ Support Service
That's what is more important than anything else

XP Style controls
 
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Thomas.

I think you can override the OnPaintBackground method in VS 2003 as well.
As for your controls on the option page, you will have to create your own controls and override the OnPaint and/or OnPaintBackground methods the same way as in the option page class.
Posted 02 Dec, 2005 09:19:49 Top
Thomas Grossen




Posts: 134
Joined: 2005-10-21
Dear Ulrich,

How did you correctly colored the background of the tabpage (overwriting the DrawBackground function). I could not do it...

Thank you,

Thomas.
Thomas.
Posted 07 Dec, 2005 10:38:58 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Thomas.

To fill the tabpage with the correct color you need to use functions defined in the UxTheme.dll. You can use the following links to get more information related to this subject.
http://www.codeproject.com/cs/miscctrl/XPTaskBar.asp
http://www.codeproject.com/cs/miscctrl/ThemedExplorerControls.asp
http://thecodeproject.com/cs/miscctrl/TgXPPanel.asp
Posted 07 Dec, 2005 18:17:21 Top
Thomas Grossen




Posts: 134
Joined: 2005-10-21
Thank you both for your help!

Thomas.
Thomas.
Posted 12 Dec, 2005 02:58:51 Top