16,550
社区成员
发帖
与我相关
我的任务
分享
LRESULT CMyDlg::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
// TODO: Add your specialized code here and/or call the base class
if ( message == WM_ENDSESSION ) //Windows关机消息
{
//相应的处理代码
}
return CNewDialog::WindowProc(message, wParam, lParam);
}