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 Tech Support » windows xp style support with CExtPaintManagerOffice2007 Collapse All
Subject Author Date
Pierre MEDART Aug 23, 2007 - 4:09 AM

Is-it possible to have a PaintManager that draws the tabs as the CExtPaintManagerOffice2007_Blue but offers the theme support such as CExtPaintManagerOffice2003 ?

What should be done ?

Pierre MEDART Aug 24, 2007 - 9:47 AM

My question is more, I want one global paint manager, so deriving it from one of the existing PaintManager.

What do I need to do so that it:

1) supports the Theme (Bleu, Olive, ...)

2) draws the tab controls and menus in the same manner as CExtPaintManagerOffice2007

To sum-up... Theme support but with cool and nice UI

Suhai Gyorgy Aug 23, 2007 - 7:55 AM

Support’s answer in this thread gives you the solution. Just substitute CExtGridWnd in the thread with CExtTabWnd or CExtTabPageContainerWnd or whichever ProfUIS control you are using.

Pierre MEDART Aug 24, 2007 - 10:30 AM

My question is more, I want one global paint manager, so deriving it from one of the existing PaintManager.

What do I need to do so that it:

1) supports the Theme (Bleu, Olive, ...)

2) draws the tab controls and menus in the same manner as CExtPaintManagerOffice2007

Is there any overidable such as the virtual int GetThemeDockingType() const to get the docking of Visual Studio 2005 in any other paintmanager.

To sum-up... Theme support but with cool and nice UI

Technical Support Aug 26, 2007 - 9:35 AM

The TabbedBars sample demonstrates how to use any re-docking algorithm for resizable control bars with any paint manager.

The following code will make resizable control bars using algorithm which corresponds to the currently installed global paint manager:


      CExtControlBar::g_eResizablePanelDockingType =
            CExtControlBar::__RESIZABLE_DOCKING_TYPE_BY_THEME;
The following code will make resizable control bars using algorithm of Visual Studio .NET:
      CExtControlBar::g_eResizablePanelDockingType =
            CExtControlBar::__RESIZABLE_DOCKING_TYPE_STUDIO_2003;
The following code will make resizable control bars using algorithm of Visual Studio 2005:
      CExtControlBar::g_eResizablePanelDockingType =
            CExtControlBar::__RESIZABLE_DOCKING_TYPE_STUDIO_2005;

Pierre MEDART Aug 27, 2007 - 2:02 AM

OK I know that. That’s why I was mentionning this example.

What I am asking is : is-there a way to have the nice CExtPaintManagerOffice2007 with the support of the theme?

Cause when I’m changing the Theme from default (bleu) to Olive I’m getting a weird result :

- toolbar is green
- menu is blue
- toolbars have a title bar that is green, the tab control is blue

This is ugly!

Suhai Gyorgy Aug 27, 2007 - 6:30 AM

<<< quote from Support >>>
The Office 2007 themes are colorized versions of the Office 2003 theme plus a set of bitmap-based painting algorithms for such UI items as push/check/radio buttons, combo boxes and non client window areas.
<<< end quote >>>

If you are using any Office 2007 theme without modification, changing XP color scheme should not cause anything to turn green/olive. So I guess the paint manager you are using is somehow modified: it is colorizing everything ( that can be colorized ) as Office 2003 theme, but of course the bitmaps are unchanged.

Your requirement would mean: you need to have many sets of bitmaps (meaning all default bitmaps would need to be copied and modifed) and you need to be able to switch between these sets of bitmaps dynamically. I don’t think this would be a solution: many resources are needed and the number of bitmap-sets is static.

Pierre MEDART Aug 29, 2007 - 4:07 AM

Can we have a chat out of the forum ?

I can’t describe here what we are doing. But I defenitely want to fix my issues.

Technical Support Aug 30, 2007 - 11:20 AM

Please send us an e-mail to the support mail box at this web site with your contact information: phone, ICQ, Skype, MSN, AIM, Yahoo, or any other contact information you would like we to use so we can chat with you.

Pierre MEDART Aug 31, 2007 - 1:36 AM

email sent yesterday : subject is "isssue with the paint manager of style Office2007 on win XP"

my details are at the bottom.

Suhai Gyorgy Aug 29, 2007 - 6:02 AM

I’m not part of the Prof-UIS Support Team and I’m not very familiar with the new, skinned Office 2007 themes. You can try describing your problem privately to Support through their e-mail address: support@prof-uis.com