Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CExtPaintManagerOffice2007_R1 theme Collapse All
Subject Author Date
Jonas Gauffin Aug 25, 2006 - 2:49 AM

I cant get the Office2007 themes to work, all other themes work OK (currently running the CExtPaintManagerStudio2005 theme).

My project is using static versions of MFC and ProfUis.
I’ve added #include <Resources/Resource.rc> into my .rc2 file

----

I’ve also tried the ReportGrid sample (that uses 2007 theme), it doesnt work either.
It breaks on:
VERIFY( m_bmpDCA.LoadBMP_Resource( MAKEINTRESOURCE(IDB_EXT_2007_DCA_R1) ) );

---

The ProfUis_Controls sample fails on m_wndToolBarUiLook.ThemeSwitcherInit() .

---

Technical Support Aug 25, 2006 - 6:15 AM

IDB_EXT_2007_DCA_R1 is defined as 29051. Please check if it collides with any other identifier in your project. Prof-UIS 2.54 uses identifiers in the range of 29000 to 31000.

Jonas Gauffin Aug 25, 2006 - 6:17 AM

Nope.
None of your samples work with the theme either.

Technical Support Aug 25, 2006 - 7:04 AM

This looks like collision between two installed Prof-UIS versions and mixed Include folder references in the Visual Studio settings. Does this happen on one computer only?