Quote Originally Posted by scurvydog View Post
Doesn't GetDlgItem just return a handle to the edit control?
Yep, but if you want to use GetDlgItemText like novacain said you'll need a handle to the dialog that contains the edit text box.(unless you have a global handle to it or something).