// WaitDlg.cpp : implementation file // #include "stdafx.h" #include "WIATest.h" #include "WaitDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CWaitDlg dialog CWaitDlg::CWaitDlg(CWnd* pParent /*=NULL*/) : CDialog(CWaitDlg::IDD, pParent) { //{{AFX_DATA_INIT(CWaitDlg) m_WaitMessage = _T(""); //}}AFX_DATA_INIT } void CWaitDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CWaitDlg) DDX_Text(pDX, IDC_WAIT_MESSAGE, m_WaitMessage); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CWaitDlg, CDialog) //{{AFX_MSG_MAP(CWaitDlg) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CWaitDlg message handlers void CWaitDlg::SetMSG(CString Message) { m_WaitMessage = Message; UpdateData(FALSE); }