windows-nt/Source/XPSP1/NT/printscan/wia/test/wiatest/waitdlg.cpp

50 lines
997 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
// 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);
}