Discussion:
Get the Office 2007 theme colors
(too old to reply)
David Thielen
2007-04-18 14:20:01 UTC
Permalink
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
Patrick Schmid [MVP]
2007-04-18 15:21:54 UTC
Permalink
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
Post by 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
Loading...