56 lines
1.0 KiB
C++
56 lines
1.0 KiB
C++
|
|
// IOFrame.cpp : implementation file
|
|||
|
|
//
|
|||
|
|
|
|||
|
|
#include "stdafx.h"
|
|||
|
|
#include "Sys.h"
|
|||
|
|
#include "DIOFrm.h"
|
|||
|
|
|
|||
|
|
#ifdef _DEBUG
|
|||
|
|
#define new DEBUG_NEW
|
|||
|
|
#undef THIS_FILE
|
|||
|
|
static char THIS_FILE[] = __FILE__;
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
// CDIOFrm
|
|||
|
|
|
|||
|
|
IMPLEMENT_DYNCREATE(CDIOFrm, CMDIChildWnd)
|
|||
|
|
|
|||
|
|
CDIOFrm::CDIOFrm()
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
CDIOFrm::~CDIOFrm()
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
BEGIN_MESSAGE_MAP(CDIOFrm, CMDIChildWnd)
|
|||
|
|
//{{AFX_MSG_MAP(CDIOFrm)
|
|||
|
|
ON_WM_CLOSE()
|
|||
|
|
//}}AFX_MSG_MAP
|
|||
|
|
END_MESSAGE_MAP()
|
|||
|
|
|
|||
|
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
// CDIOFrm message handlers
|
|||
|
|
|
|||
|
|
void CDIOFrm::ActivateFrame(int nCmdShow)
|
|||
|
|
{
|
|||
|
|
// TODO: Add your specialized code here and/or call the base class
|
|||
|
|
nCmdShow = SW_SHOWMAXIMIZED; // ʹ<><CAB9>֡<EFBFBD><D6A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
CMDIChildWnd::ActivateFrame(nCmdShow);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
extern BOOL bWaitInt;
|
|||
|
|
void CDIOFrm::OnClose()
|
|||
|
|
{
|
|||
|
|
// TODO: Add your message handler code here and/or call default
|
|||
|
|
if(bWaitInt)
|
|||
|
|
{
|
|||
|
|
AfxMessageBox(L"<EFBFBD>ж<EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˳<EFBFBD>", MB_ICONWARNING);
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
CMDIChildWnd::OnClose();
|
|||
|
|
}
|