Курсовая работа: Проект текстового редактора
CRect clientRStatusBar1;
GetClientRect(clientRect1);
m_wndStatusBar.GetClientRect(clientRStatusBar1);
CRect cx = clientRect1;
cx.bottom = clientRect1.bottom - clientRStatusBar1.Height();
m_Edit1.MoveWindow(cx);
}
CMenu* pMenu = GetMenu()->GetSubMenu(3);
UINT state = pMenu->GetMenuState(1, MF_BYPOSITION);
if (nType == SIZE_MINIMIZED && state & MF_CHECKED)
{
ShowWindow(SW_HIDE);
Shell_NotifyIcon(NIM_ADD, &m_nidTray);
//m_uTimer = SetTimer(1, 500, NULL);
nIcon = 0;
}/*
static UINT rgIconID[] =
{
IDI_ICON1, IDI_ICON2, IDI_ICON3, IDI_ICON4
};
nIcon++;
if (nIcon == 4) nIcon = 0;
m_nidTray.hIcon = AfxGetApp()->LoadIcon(rgIconID[nIcon]);
Shell_NotifyIcon(NIM_MODIFY, &m_nidTray);
*/
}
}
void CMenuDlg::Onblokn()//МодальноеокноОблокноте---------------
{