Find out which colours are in use when using the MFC Feature pack in Office 2007 style | I'm updating some of our legacy C++ code to use the "MFC feature pack" that Microsoft released for Visual Studio 2008. We've used the new classes to derive our application from CFrameWndEx, and are applying the Office 2007 styles to give our application a more modern appearance. This gives us gradient filled window titles, status bars etc, and the use of the ribbon toolbars.


However, our application contains some owner drawn controls, and I'd like to update these to match the color scheme used by the feature pack. Ideally I'd like to know the light and shaded toolbar colors that are currently in use.


I've had a hunt around the documentation and web and have not yet found anything. Does anyone know how to find this information out?


[Edit]


In particular we need to find out which colors are being used at runtime. You can change the appearance of your application at runtime using the new static function CMFCVisualManager::SetDefaultManager.


The following msdn page shows you what kind of styles are available, in particular the Office2007 look:
[link to msdn](http://msdn.microsoft.com/en-us/library/cc137831.aspx)