Access Child Window Conrols In Parent Window Class

Go4Expert Member
8Aug2007,16:50   #1
ankurk's Avatar
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
Go4Expert Founder
8Aug2007,17:09   #2
shabbir's Avatar
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.
Go4Expert Member
8Aug2007,17:47   #3
ankurk's Avatar
Thanks A Lot Dude For Such A Fast Reply

Keep It Up!!!!!!!!!!
Go4Expert Founder
8Aug2007,17:56   #4
shabbir's Avatar
My pleasure.