Applying XP themes

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

Applying XP themes
Apply XP themes to the COM Add-in 
dmistry Mistry




Posts: 1
Joined: 2007-03-14
Hi guys,

I have created outlook explorer toolbar using the Add-in-Express.

Its great, but do not know how to apply the XP Themes to the outlook toolbar. Currently, I set the background color of the control to match the default XP theme. But, this is not true as the themes may vary.

Thanks in advance.

Posted 14 Mar, 2007 12:12:48 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Dmistry,

To enable XP Themes for a host application you can use either a global manifest file or the EnableVisualStyles method.


public AddinModule()
{
    Application.EnableVisualStyles();
    InitializeComponent();
}


P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 15 Mar, 2007 09:45:06 Top