Курсовая работа: Проект текстового редактора
ON_COMMAND(ID_Sprawka_2, OnSprawka2)
ON_COMMAND(ID_Nauti, OnNauti)
ON_COMMAND(ID_Nauti_dalee, OnNautidalee)
ON_COMMAND(ID_Zamenit, OnZamenit)
ON_COMMAND(ID_T_, OnT)
ON_WM_TIMER()
ON_COMMAND(ID_TRAY_OPEN, OnTrayOpen)
ON_COMMAND(ID_TRAY_EXIT, OnTrayExit)
ON_MESSAGE(WM_TRAYICON, OnTrayIcon)
ON_COMMAND(ID_Trei, OnTrei)
ON_COMMAND(ID_Pereuti, OnPereuti)
ON_WM_INITMENUPOPUP()
END_MESSAGE_MAP()
// CMenuDlg message handlers
BOOL CMenuDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE);// Set big icon
SetIcon(m_hIcon, FALSE);// Set small icon
// TODO: Add extra initialization here
// SetTimer(1,500,0);
//--------------------------------------------------
CRect rcClient;
GetClientRect(rcClient);
rcClient.InflateRect(-2, -2, -2, -20);
GetDlgItem(IDC_EDIT1)->MoveWindow(rcClient);
//------------------------------------------------