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.