Professional UI Solutions
Site Map   /  Register


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 » CExtPageContainerWnd theme styles? Collapse All
Subject Author Date
Don Metzler Nov 7, 2007 - 11:03 AM

I want to control the theme on a CExtPageContainerWnd window. I also want to be able to control the theme/style of the embedded CExtShortcutListWnd objects. Is there an example of this?

Thanks in advance,

Don Metzler

Technical Support Nov 27, 2007 - 5:59 AM

The CExtPageContainerWnd and CExtShortcutListWnd classes are fully painted with paint managers so you cannot just specify some background colors for these controls. You can however repaint the background by overriding the CExtShortcutListWnd::OnShortcutListEraseEntire() virtual method.

Don Metzler Nov 26, 2007 - 10:40 AM

1) We would like the header of a page to reflect the current theme.

2) Can the background color of a page be changed? I have tried overriding the OnCtlColor() method in a subclassed CExtShortcutListWnd object, but this never gets called when the page is displayed.

Technical Support Nov 10, 2007 - 1:19 PM

The CExtShortcutListWnd has a simple appearance that is not based on any paint manager. But it’s not difficult to implement some more themed painting for this control. Please let us know any details. From your point of view, how it should look like under each theme? We are interested in your point of view especially with regard to Office 2007 themes.