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 » Simple about box Collapse All
Subject Author Date
Bacsó Gergely Feb 7, 2006 - 1:13 PM

Hi,

I wanted to make the look of my application’s about box consistent with the OfficeXP/Office2003/Etc. themes,
so I changed CDialog to CExtDlgBase in all the places, but
- my dialog’s caption became animated with some purple-black shapes (and I want a normal caption)
- my dialog is flickering when I’m moving it
- backgrounds of static controls in the dialog aren’t painted with gradient when the dialog’s background is painted with gradient

How can I fix these problems?

Thanks in advance,
Gergely Bacsó

Technical Support Feb 8, 2006 - 11:04 AM

To avoid flickering, just turn on the Clip Children style for the dialog template in the resource editor. To make all the dialog controls consistent with the currently used paint manager, you need to use corresponding Prof-UIS classes.

Please take a look at the FAQ Static text controls used on the resizable dialog are flickering when it is resized. Besides, their background is inconsistent with that of the resizable dialog. How to resolve these problems?" for more details.

Technical Support Feb 8, 2006 - 10:45 AM

The CExtDlgBase class was coded several years ago to implement funny About boxes in Prof-UIS samples. This class was removed in Prof-UIS 2.52 and will never appear in future releases. Please use the CExtResizableDialog class instead if you need a consistent look for your About box.

Bacsó Gergely Feb 10, 2006 - 6:36 AM

Thank you, it works, but
I don’t want a sizing gripper in my about box. How can I remove that?

Technical Support Feb 10, 2006 - 9:12 AM

You can do this with ShowSizeGrip():

ShowSizeGrip( FALSE );

Bacsó Gergely Feb 10, 2006 - 12:58 PM

Thank you.