how to add edit ctrl and button into dialog dynimically 
Author Message
 how to add edit ctrl and button into dialog dynimically

Dear all :
 I'm trying to a dialog whihc allow me to button, spin and edit control
dynamically when user choose Add control, can anybody tell me how to
accomplish this or where can I find such kind of example. Thanks



Sun, 03 Sep 2000 03:00:00 GMT  
 how to add edit ctrl and button into dialog dynimically

If you're using MFC, create a new CButton, CEdit or CSpinButton control and
call its Create member function with the appropriate member functions.

If you want the control class to respond to some WM+AF8- messages, I would
advise you to derive your own class from the class you want to use and add
the appropriate message handlers.

Olivier Gilloire
ogilloire+AEA-sysenhance.com

+AD4-Dear all :
+AD4- I'm trying to a dialog whihc allow me to button, spin and edit control
+AD4-dynamically when user choose Add control, can anybody tell me how to
+AD4-accomplish this or where can I find such kind of example. Thanks
+AD4-
+AD4-
+AD4-



Sun, 03 Sep 2000 03:00:00 GMT  
 how to add edit ctrl and button into dialog dynimically


Quote:

>+AD4-Dear all :
>+AD4- I'm trying to a dialog whihc allow me to button, spin and edit control
>+AD4-dynamically when user choose Add control, can anybody tell me how to
>+AD4-accomplish this or where can I find such kind of example. Thanks

You can also create all the controls at once, on top of one another if
necessary. Then, hide or show them as you need.

Roger Abbott,
RHA (Minisystems) Ltd.,
http://users.aol.com/rogerha



Sun, 03 Sep 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. how to add button, edit control and spin button dynamically

2. ATL Dialog and Rich Edit Ctrl

3. CEdit* attach to Edit ctrl in dialog box?

4. OnKeyDown() not called in Dialog with edit ctrls

5. linking Combo Box Ctrl with Edit Ctrl???

6. Adding a button inside an edit box

7. Programatically adding delete / edit button

8. How do I add an edit control to the common print dialog

9. Edits, Dialog Bars and Restore Buttons

10. Adding a minimize button to an existing dialog based app

11. how can i add menu and button bar to a dialog

12. Steps to add bitmap to button in Dialog form

 

 
Powered by phpBB® Forum Software