you can get the text for any control within a dialouge with the GetDlgItemText

regards,