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
First you need a CEdit member variable of the dialog. Use 'Add Variable' in the dialog editor. If you name this variable m_helloedit then in your button click function