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 » CExtResizableDialog inside a CExtResizableDialog Collapse All
Subject Author Date
Wilhelm Falkner Oct 18, 2005 - 2:16 AM

Hi,
inside a CExtResizableDialog i want to place another CExtResizableDialog. In my outer dialog resource i place a CStatic, to know where to place the inner dialog. For the CStatic i also use AddAnchor, so the inner dialog is place at the right position. For the inner dialog I got an additional gripper. But I want the inner dialog resized atomatical when the outer dialog is resized. How can I do this ??

TIA, Willi

Technical Support Oct 18, 2005 - 7:52 AM

To remove the resizing gripper, just call the ShowSizeGrip( FALSE ) method for the inner dialog. As for the anchoring the inner dialog, use the following code:

AddAnchor( m_wndInnerDialog.GetSafeHwnd(), __RDA_LT, __RDA_RB );

Wilhelm Falkner Oct 18, 2005 - 8:13 AM

Thanks, this solved my problem
Willi