Курсовая работа: Проект текстового редактора
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
return FALSE;}
Код модуля nauti.cpp
// m_nauti.cpp : implementation file
//
#include "stdafx.h"
#include "Menu.h"
#include "m_nauti.h"
#include ".\m_nauti.h"
#include "MenuDlg.h"
#include <string>
using namespace std;
// m_nauti dialog
IMPLEMENT_DYNAMIC(m_nauti, CDialog)
m_nauti::m_nauti(CWnd* pParent /*=NULL*/)
: CDialog(m_nauti::IDD, pParent)
, m_pParent(pParent)
, m_nStartPos(0)
, strFind(_T(""))