Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   Access Child Window Conrols In Parent Window Class (http://www.go4expert.com/forums/access-child-window-conrols-parent-t5749/)

ankurk 8Aug2007 16:50

Access Child Window Conrols In Parent Window Class
 
Hi i am creating several small child window dialogs in a parent window at run time , now i have problems accessing the child window dialog controls ie edit box etc of a child window in parent dialog class now i want to use the text entered by user in child window edit box. plz help

Thanks

shabbir 8Aug2007 17:09

Re: Access Child Window Conrols In Parent Window Class
 
You have 2 options.

1. Use GetDlgItem and GetDlgItemText functions.
2. If you have the dialog classes for such dialogs have the get member method to do your job.

ankurk 8Aug2007 17:47

Re: Access Child Window Conrols In Parent Window Class
 
Thanks A Lot Dude For Such A Fast Reply

Keep It Up!!!!!!!!!!

shabbir 8Aug2007 17:56

Re: Access Child Window Conrols In Parent Window Class
 
My pleasure.


All times are GMT +5.5. The time now is 23:56.