Beispiel #1
0
 void CFormatMsgDlg::OnOK()
 {
     SRichEdit *pEdit = FindChildByName2<SRichEdit>(L"re_xmlinput");
     m_strMsg = pEdit->GetWindowText();
     SEdit *pRepeat = FindChildByName2<SEdit>(L"edit_repeat");
     SStringT strRepeat = pRepeat->GetWindowText();
     m_nRepeat = _tstoi(strRepeat);
     EndDialog(IDOK);
 }
Beispiel #2
0
void CFormatMsgDlg::OnOK()
{
    SRichEdit* pEdit = FindChildByName2<SRichEdit>( L"re_xmlinput" );
    m_strMsg = pEdit->GetWindowText();
    EndDialog( IDOK );
}