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 » CExtResizableDIalog as child Window Collapse All
Subject Author Date
Johannes Wisnewski Dec 14, 2009 - 8:02 AM

Hi,


I try to get the Wizard class of my Application skinned. It does almost work, but my Wizard page has a Move Bar at the Top, and can be moved:


 


Pic1: Not yet moved, but there should not be a Border around the Inner Dialog



 


Pic 2: I even can move the inner Dialog



 


Both Dialogs are declared as CExtNCW < CExtResizableDialog >. The Outer Dialog has a function which can add several pages to it, which are all derived from a Bass Class derived from CExtNCW < CExtResizableDialog >.  Those Pages are then positioned with


pPage->SetWindowPos(NULL, rect.left, rect.top, 0, 0,

            SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE );


 


What are the right parameters to have the inner DIalog fixed and withour the border?


 

Technical Support Dec 14, 2009 - 1:46 PM

The child dialog pages should use the CExtResizableDialog class type as is.

Technical Support Dec 14, 2009 - 9:33 AM

Please check the following two things:

1) The CExtNCW template class is applied for popup windows floating on the desktop. This template class should not be applied to child windows like property sheet pages.

2) The dialog template resources of your wizard pages are marked as Child dialog type and Visible options.

Johannes Wisnewski Dec 14, 2009 - 10:42 AM

1) Ok, what class do I have to use instead?


2) Yes they are..