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 » public CExtNCW < CExtResizableDialog > Collapse All
Subject Author Date
Seth Strong Aug 1, 2006 - 2:02 PM

I have this dialog in a resizable bar. The resource is a simple form. But in the resizable bar, you see the border of the dialog and a title bar. How do I set some styles so the dialog in a resizable bor has no apparent borders or a title?

Seth

Technical Support Aug 2, 2006 - 8:20 AM

The CExtNCW template does not analyze the WS_CHILD style, so it can be applied to popup dialogs only. Therefore CExtNCW cannot be used for child dialogs so far.

Seth Strong Aug 2, 2006 - 8:52 AM

More specifically do you have a non-resizable dialog that is ordinary except for using Prof-UIS styles?

Technical Support Aug 3, 2006 - 10:06 AM

The CExtResizableDialog class is designed for dialogs of all the types. You can make your dialog non-resizable by setting the Border style in the resource editor to Dialog Frame. Do not forget to invoke ShowSizeGrip( FALSE ) in OnInitDialog() to hide the resizing gripper.

Seth Strong Aug 3, 2006 - 2:54 PM

Thanks

Seth Strong Aug 3, 2006 - 10:04 AM

I found the answer in the Help documentation. And I got this to work right by not templating and directly subclassing CExtResizableDialog.

Seth Strong Aug 2, 2006 - 8:49 AM

So what do you suggest as the best simple dialog replacement?