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 » CExtGroupBox does not paint ok its children Collapse All
Subject Author Date
Richard Gardner Feb 13, 2008 - 9:57 PM

Hi

Recently I found such a problem that CExtGroupBox won’t display correctly its children. And, radio buttons are not displayed at all, SpinControl is not bound correctly to its buddy text control, and combobox control gets the dialog background when resizing the dialog.
Here you can see a picture of what I get

and here is the demo project
http://designleon.com/temp/TestProfUISRadio.zip
Pls explain what I do wrong.

thx

Technical Support Feb 14, 2008 - 3:51 AM

Please check the following points:

1) WS_CLIPCHILDREN | WS_CLIPSIBLINGS is set the dialog template.

2) The tab order for the group box control is greater than that for any other control.

3) The spin control is subclassed with CExtSpinWnd and the edit control with CExtEdit.

Finally, check the ProfUIS_Controls sample: there are a number of group boxes.