resize ctrls when dlg resizes 
Author Message
 resize ctrls when dlg resizes

i have to ctrls in a dlg base app... now i want that when the user
resizes the dlg to
resize the ctrls too... how can i do that?!?!? note:  i tried it with
the OnSizing(...)
Message.... but that'nt work....

ingo

-----
http://www.*-*-*.com/ ;SOFTWARE



Tue, 26 Mar 2002 03:00:00 GMT  
 resize ctrls when dlg resizes
Handle WM_SIZE message for the parent dialog.  Call MoveWindow on each
of the controls you want to move.
Quote:

> i have to ctrls in a dlg base app... now i want that when the user
> resizes the dlg to
> resize the ctrls too... how can i do that?!?!? note:  i tried it with
> the OnSizing(...)
> Message.... but that'nt work....

> ingo

> -----
> http://surf.to/ke->SOFTWARE




Tue, 26 Mar 2002 03:00:00 GMT  
 resize ctrls when dlg resizes
In addition to what Douglas wrote, www.codeguru.com has some classes that
you can use as examples or starting points to do this sort of thing.

--
----
Chris Scott
SnoopSoft Corporation
http://www.snoopsoft.com


Quote:
> i have to ctrls in a dlg base app... now i want that when the user
> resizes the dlg to
> resize the ctrls too... how can i do that?!?!? note:  i tried it with
> the OnSizing(...)
> Message.... but that'nt work....

> ingo

> -----
> http://surf.to/ke->SOFTWARE




Tue, 26 Mar 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. how to resize controls with the resizing of dialog box

2. How to RESIZE a Listcontrol after window-resize

3. how to automatically resize controls on window resize ?

4. Resizing Controls when the dialog is resized

5. How to resize child windows when a dialog resizes

6. Controls in dialog resizing when window resizes

7. Control Resize AFTER Form Resize

8. Resizing a Tree Ctrl

9. How to query interface from MFC ActiveX Dlg Ctrl

10. Common File Dlg use with property sheets or tab ctrls

11. MFC dlg app, browser ctrl, ATL dochostui interface problem

12. Send message from subclassed ctrl to parent dlg?

 

 
Powered by phpBB® Forum Software