Get Text from an Edit Control (Pure Win32 API) Ask Question Asked 10 years, 9 months ago. Modified 10 years, 9 months ago. Viewed 17k times ... Win32 Edit Control - GetText does not return final \n. 7. win32 c++ detecting 'enter' in a edit control > withot subclassing?. 3. Select the class for your dialog box in the 'class name' drop down list (C..Dlg) 4. You should see your edit box control id on the left (IDC_EDIT1 or something) 5. Click on the IDC_.. name and click the [Add Variable] button. 6. Under 'member variable name' type.