Get the Office 2007 theme colors

D

David Thielen

Hi;

Is there a way to get the theme colors that Office is using on a computer?
We would like to have our AddIn match Office's look & feel on each computer.
So we need to be able to query Office for it's settings.

And for running on Word 2003, it doesn't have themes like 2007 so whould we
use the Windows XP theme? And if so, any idea how to get it's settings?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
P

Patrick Schmid [MVP]

You can figure out the which theme is active (query the registry), but
there is no programmatic method to my knowledge to extract the actual
color values.
You might have to get the Ribbon UI license from Microsoft. Maybe the
documentation you get via the license will list the color values.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://pschmid.net/office2007/ribboncustomizer
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed
 

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