XP Theme for Word Add-In

S

Saint Jerome

We are trying to apply the technique mentioned elsewhere, which uses a
..manifest file to specify a Windows XP look for dialogs, to an office add-in
for Word.

It appears that using a .manifest file does not work with dlls, as required
for an add-in.

Can anyone advise how to change the dialog to an XP Theme when using a dll?
 
B

- B@rney

You haven't specified whether you're working in VS 2005 or VS 2003.

In my VS 2003/.NET 1.1 Add-in I followed the guidelines here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;830033

And got WinXP Themes in the dialogs in my add-in.

/// To use call Form or MessageBox like this:
/// <code>using(new EnableThemingInScope(true))
/// {
/// Form1 form1 = new Form1();
/// form1.CreateControl(); //Or Show(), ShowDialog() et.c.
/// }

HTH
 

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