Курсовая работа: Проект текстового редактора
// Zamenit dialog
IMPLEMENT_DYNAMIC(Zamenit, CDialog)
Zamenit::Zamenit(CWnd* pParent /*=NULL*/)
: CDialog(Zamenit::IDD, pParent)
, m_pParentz(pParent)
, m_nStartPosR(0)
, m_bFlagRepl(false)
, m_bFlagReplAll(false)
, strText(_T(""))
, strFind(_T(""))
{
}
Zamenit::~Zamenit()
{
//m_pParentz = pParent;
}
void Zamenit::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(Zamenit, CDialog)
ON_BN_CLICKED(IDC_BUTTON1, OnBnClickedButton1)
ON_BN_CLICKED(IDC_BUTTON2, OnBnClickedButton2)
ON_EN_CHANGE(IDC_EDIT22, OnEnChangeEdit22)
ON_BN_CLICKED(IDC_BUTTON3, OnBnClickedButton3)
ON_WM_DESTROY()
ON_BN_CLICKED(IDCANCEL, OnBnClickedCancel)
END_MESSAGE_MAP()
// Zamenit message handlers