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 » NC painting problem - CExtNCW Collapse All
Subject Author Date
Chris Anderson Mar 9, 2008 - 11:35 PM

hi,

Which class will correctly paint the title bar and frame of a MDI child window ? The child window in MDI sample still has the old XP style title bar and frame, even in office 2007 themes.

To address the problem, I made a minor change in ChildFrm.h

class CChildFrame : public CMDIChildWnd
-->
class CChildFrame : public CExtNCW<CMDIChildWnd>

At first everything seems fine, but there are some issues ,i.e., the child window may lose title bar . You can reproduce it following these steps :
1. create a new child window by clicking the new button
2. create another new child window
3. maximize child window #2
4. restore child window #2
5. move child window #2, and you will see the title bar and frame of child window #1 disappear

Is this a bug or I should use a different class ?

Thanks

Technical Support Mar 17, 2008 - 11:03 AM

We are profiling Prof-UIS code at this moment. The CExtNCW template class already supports skinning of MDI child frames. You can send us an e-mail to the support mail box at this web site so we can provide you with the latest stable Prof-UIS 2.83.

Technical Support Mar 14, 2008 - 10:03 AM

Although the CExtNCW template class has a specialized version for MDI child frames, this feature is still at the beta stage.

Herve Dumont Mar 12, 2008 - 3:55 AM

+1. This problem is bothersome.
This and slow perfomance of Office 2007 theme are my 2 major concerns on Prof-Uis.

Offer Har Mar 11, 2008 - 10:39 AM

I couldn’t agree less.
The whole application is skinned, but the child windows look ugly...
I hope they will do something about it.

Offer Har Mar 10, 2008 - 6:59 AM

Hi there Chris,

This feature / bug fix is long waited for... I was asking for it for a year and a half now, and it’s still not implemented.
I think this is something that is really needed, as all other parts of MDI application as skinned but the child window.

Maybe if there will be enough demand for it they will implement it...

Chris Anderson Mar 11, 2008 - 10:35 AM

Thank you for the informaton, this is really something needed