Курсовая работа: Проект текстового редактора
{
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}
void CMenuDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_EDIT1, m_Edit1);
}
BEGIN_MESSAGE_MAP(CMenuDlg, CDialog)
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
//}}AFX_MSG_MAP
ON_COMMAND(ID_Sozdat, OnSozdat)
ON_COMMAND(ID_Wixod, OnWixod)
ON_COMMAND(ID_Otkrit, OnOtkrit)
ON_COMMAND(ID_Soxranit, OnSoxranit)
ON_COMMAND(ID_Soxranit_kak, OnSoxranitkak)
ON_COMMAND(ID_Wremja, OnWremja)
ON_COMMAND(ID_Widelit_wse, OnWidelitwse)
ON_COMMAND(ID_Shrift, OnShrift)
ON_WM_SIZE()
ON_COMMAND(ID_blokn, Onblokn)
ON_COMMAND(ID_Udalit, OnUdalit)
ON_COMMAND(ID_Wirezat, OnWirezat)
ON_COMMAND(ID_Kopirowat, OnKopirowat)
ON_COMMAND(ID_Wstawit, OnWstawit)
ON_COMMAND(ID_Otmenit, OnOtmenit)
ON_EN_CHANGE(IDC_EDIT1, OnEnChangeEdit1)
ON_WM_INITMENU()