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 » vanishing Controls Collapse All
Subject Author Date
Heidi Brockmann Aug 24, 2004 - 7:57 AM

Hello there,


I got an little big problem using Prof UIS Controls inside a CExtGroupBox.


Always when i change the caption my CExtGroupBox my CExtCheckBoxes inside the CExtGroupBox are vanishing until i move the mouse over them.


I allready tried to redraw the window and the components at runtime but it didn’t work.


(I tried this: m_GroupBox.RedrawWindow(NULL, NULL, RDW_UPDATENOW);


m_Checkbox1.RedrawWindow(NULL, NULL, RDW_UPDATENOW);


m_Checkbox2.RedrawWindow(NULL, NULL, RDW_UPDATENOW);)


Any hints or suggestions on this would be appreciated.


regards,

Dmitry Dulepov Aug 24, 2004 - 9:06 AM

Move group box under the checkbox... Your groupbox covers check boxes. Paint manager in Prof-UIS paints the whole group box to achive gradient background effect. Windows does not paint background of group box at all...

Heidi Brockmann Aug 25, 2004 - 1:40 AM

Hello Dmitry thx for the fast reply. I used m_CheckBox.BringWindowToTop() it worked perfectly :))


have a nice day

Don Delabnikufesin Oct 21, 2004 - 9:15 AM

Hi, I have the same problem, but I can’t imagine where should I call BringWindowToTop for my controls ... Please, any tip?

Technical Support Oct 22, 2004 - 2:43 AM

Please set the tab order of controls on your dialog so the controls inside the group box have a lower order that the group box control itself.

Don Delabnikufesin Oct 22, 2004 - 4:02 AM

Thank you very much for the quick response. It works perfectly now.