Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
997 B

  1. // WaitDlg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "WIATest.h"
  5. #include "WaitDlg.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CWaitDlg dialog
  13. CWaitDlg::CWaitDlg(CWnd* pParent /*=NULL*/)
  14. : CDialog(CWaitDlg::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CWaitDlg)
  17. m_WaitMessage = _T("");
  18. //}}AFX_DATA_INIT
  19. }
  20. void CWaitDlg::DoDataExchange(CDataExchange* pDX)
  21. {
  22. CDialog::DoDataExchange(pDX);
  23. //{{AFX_DATA_MAP(CWaitDlg)
  24. DDX_Text(pDX, IDC_WAIT_MESSAGE, m_WaitMessage);
  25. //}}AFX_DATA_MAP
  26. }
  27. BEGIN_MESSAGE_MAP(CWaitDlg, CDialog)
  28. //{{AFX_MSG_MAP(CWaitDlg)
  29. // NOTE: the ClassWizard will add message map macros here
  30. //}}AFX_MSG_MAP
  31. END_MESSAGE_MAP()
  32. /////////////////////////////////////////////////////////////////////////////
  33. // CWaitDlg message handlers
  34. void CWaitDlg::SetMSG(CString Message)
  35. {
  36. m_WaitMessage = Message;
  37. UpdateData(FALSE);
  38. }