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 » moving and resizing all control in all dialog when using a custom theme Collapse All
Subject Author Date
raphael verdier Mar 3, 2014 - 9:28 AM

In our application we want to use a custom theme.


When we use this theme, we want to modify the position and size of all control (checkbox, radiobutton, edit, label...)


which function in the class cextpainmanager we must override ?

raphael verdier Mar 6, 2014 - 3:28 AM

thanks for your answer.


BUt I don’t want to go in each window an change the position of each control.


It’s not possible to override a function of CExtPaintManager for changing the position of each control ?


New question : on each window (cextresizabledialog) we want to change the color of the Ok button. Which function in CExtPaintManager we must override ?


 


thanks for your help

Art Wilkes Mar 3, 2014 - 10:54 AM

Question 2
The way I would do it is get the location of the groupbox.
Then see if all 4 corners of the control are located in side the groupbox.
In the MFC RC file if you are using MFC make sure that the groupboxs are the last entry in the menu specification.
Prof-UIS Support

Question 1
I would thing, without trying your code, that you can move windows and they are all windows with the move windows command.

Prof-UIS Support

raphael verdier Mar 3, 2014 - 10:02 AM

Second question :


is it possible to know if a control is inside a groupbox ?