my problem is i have created a SDI application.
i have a dialog in it .which contains OK and CANCEL buttons. it also contains an Edit control.
i have to get data from the edit control and display it to view.
the steps that i have done r
created a menu which has (Dialog->ModalDlg[item])
int nRet = dlg.DoModal();
if(nRet == IDOK)
void CMyDialog::OnOK() //CMyDialog is dialog box class derived from CDialog
this is what i have written plz correct this.or plz give me suggestions
my problem is to get text from editcontrol and display it to view when i click OK button.