Icon(x, y, m_hIcon);
}
else
{
CDialog::OnPaint();
}
}
// The system calls this to obtain the cursor to display while the user drags
// the minimized window.
HCURSOR CA1Dlg::OnQueryDragIcon()
{
return (HCURSOR) m_hIcon;
}
// Automation servers should not exit when a user closes the UI
// if a controller still holds on to one of its objects. These
// message handlers make sure that if the proxy is still in use,
// then the UI is hidden but the dialog remains around if it
// is dismissed.
void CA1Dlg::OnOK()
{
// if (CanExit())
// CDialog::OnOK()
}
void CA1Dlg::OnXiugaiMima()
{
CDlgChangePassWord dlg;
dlg.DoModal();
}
void CA1Dlg::OnYonghuquanxian()
{
CDlgUserPurview dlg;
dlg.DoModal();
InitPurview();
}
void CA1Dlg::OnXiugaiQuanxian()
{
CDlgPurview dlg;
dlg.DoModal();
InitPurview();
}
void CA1Dlg::OnShowWindow(BOOL bShow, UINT nStatus)
{
CDialog::OnShowWindow(bShow, nStatus);
//this->GetDlgItem(IDR_MENU1)->SetFocus();
//
}
void CA1Dlg::OnXiaoshouChaxun()
{//#include "DlgXSINFO.h"
CDlgXSINFO dlg;
dlg.DoModal();
}
void CA1Dlg::OnRukuChaxun()
{
CDlgXSTHINFO dlg(15,RK);
dlg.DoModal();
}
void CA1Dlg::OnYaopinXinxi()
{
CDlgYPINFO dlg;
dlg.DoModal();
}
void CA1Dlg::OnCaiwuRijie()
{
CDlgRj dlg(true);
dlg.DoModal();
}
void CA1Dlg::OnYuangongInfo()
{
// TODO: Add your command handler code here
CDlgYG dlg;
d
上一篇:
A10.CPP
下一篇:
青海大学光伏发电系统应用设计开题报告