I have been in ontouch wrote
if (pDoc - & gt; The date [0]!='n')
{
STR. The Format (" % s % s ", "date:", pDoc - & gt; The date);
PDC - & gt; TextOut (10150, STR);
}
Excuse me,
Strcpy (pDoc - & gt; The date, DLG. M_e1); Where should be written in
CodePudding user response:
Write in the button onclick event callback, want the updatedata onceCodePudding user response:
CxxxDialog DLG (TRUE);
If (DLG) DoModal ()==IDOK)
{
Cstrings STR=DLG. DLG. M_e1;
}
STR is what you want
CodePudding user response:
Note m_e1 must be cstrings, not is the edit control (can be associated to cstrings), because the dialog window has been destroyed