I have a button and text control in MFC dialog window, when I click on button, in edit control must be replaced for example \"hello world\". but if I write
\"hello world\"
Use the SetWindowText method:
SetWindowText
edit.SetWindowText( _T("Hello, World!") );