Are you using DDX? Why don't you just use the class designer to map the
text to a CString variable?
Otherwise, CEdit has a SetWindowText member function as David has pointed
out.
Also, MFC questions do not belong in this newsgroup, which is for using C++
in .NET, mainly C++/CLI but interop questions would be more or less on topic
here as well. Try microsoft.public.vc.language in the future.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.