You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
578 B
24 lines
578 B
#include "stdafx.h"
|
|
#include "FormatMsgDlg.h"
|
|
|
|
namespace SOUI
|
|
{
|
|
CFormatMsgDlg::CFormatMsgDlg(void):SHostDialog(_T("layout:dlg_formatmsg"))
|
|
{
|
|
m_nRepeat=1;
|
|
}
|
|
|
|
CFormatMsgDlg::~CFormatMsgDlg(void)
|
|
{
|
|
}
|
|
|
|
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);
|
|
}
|
|
}
|
|
|