Professional UI Solutions
Site Map   /  Register


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 » Controls Refresh Problem in DialogBox. Collapse All
Subject Author Date
Michael Morrison Jun 3, 2008 - 1:24 AM

Using Prof-UIS 2.50.

I have created a dialog that inherits from CExtResizableDialog that was layed out in the dialog editor.  It contains a number of radio buttons inside of a number of group boxes.  Tab ordering puts the group boxes in lower numbers than the contained radio buttons.  Dialog properties has "Clip Children" set, style is Popup.  My DoDataExchange connects all controls to the CExt (Prof-Uis) equivalents (ie: CExtRadioButton, CExtGroupBox, etc).

My problem is that after the dialog window has been occluded and then exposed by another window, the controls inside do not refresh/redraw properly.  The GroupBoxes are properly redrawn, but none of the CExtRadioButtons inside them are refreshed unless you move the cursor over them.  The same thing happens with a CExtEdit that is inside of a CExtGroupBox as well.  Can you give me some hints as to why this may happen?



Technical Support Jun 4, 2008 - 7:34 AM

The group boxes should have greater order numbers than the controls inside it. Please check this.

Michael Morrison Jun 4, 2008 - 7:48 AM

Ok, that was it, thanks.  I misread the FAQ doc that talked about this - and had the tab order the wrong way.