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 » CExtNCW and CMDIChildWnd? Collapse All
Subject Author Date
Norman Tellinot Nov 9, 2006 - 11:11 AM

Is it possible to have a skinned MDI child wnd? I notice none of the samples do this.

When I try to inherit from CExtNCW<CMDIChildWnd>, it works fine for one of my child wnds, but for another one, it crashes.

Also, is there any documentation for CExtNCW? I only found it by grokking through the samples. There is nothing in the help file on it.

Luc Dion Mar 19, 2007 - 6:43 AM

Hi, I have done the same thing:

class CChildFrame : public CExtNCW<CMDIChildWnd>

But I don’t get a crash, the only problem I found was that the menu commands "Window - Cascade" and "Windows - Tile" stop working. Any workaround for that?

Is there any reason why none of the samples apply the skin look to MDI frames?

Technical Support Mar 20, 2007 - 1:05 PM

Skinned MDI child frames are at the beta stage. That is why this is not used in our samples.

Luc Dion Jul 13, 2007 - 6:49 AM

Do you know when the support of CExtNCW<CMDIChildWnd> will be available? I think this will be a really important feature, since the MDI document is the only elements that is not renderer using the Profuis theme.

We wanted to use this in our application, but there is too much problem with that BETA feature.


Norman Tellinot Nov 9, 2006 - 11:22 AM

Ok, I found the cause of the crash, and it’s unrelated to CExtNCW :-)

Some documentation on how to use CExtNCW would be nice though! ;-)

Technical Support Nov 10, 2006 - 10:49 AM

The CExtNCW class is not compatible with the Windows MDI interface. Its implementation removes the WS_BORDER|WS_CAPTION standard window styles which is essential for making custom window captions and borders working correctly. Unfortunately Windows MDI interface does not work correctly with MDI child frames that have no these window styles.