Getting text from a one line CEdit Control
Posted on 1998-07-13
How do you get the text out of a CEdit Control? I have tried using GetWindowText but that always returns NULL.
I am using add printer wizard and am trying to get the name of the printer on about the 5th page I've used spy++ and have been able to get a handle to the CEdit window, then I called Getline off of that, and it works in Debug mode but not release. Any ideas on how to solve this so I can get the text