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.

55 lines
1.1 KiB

  1. // Working.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "migdrvr.h"
  5. #include "Working.h"
  6. #include "Resstr.h"
  7. #include <COMDEF.h>
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CWorking dialog
  15. CWorking::CWorking(long MSG_ID, CWnd* pParent /*=NULL*/)
  16. : CDialog(CWorking::IDD, pParent)
  17. {
  18. _bstr_t x = GET_BSTR(MSG_ID);
  19. m_strMessage = (WCHAR*)x;
  20. //{{AFX_DATA_INIT(CWorking)
  21. //}}AFX_DATA_INIT
  22. }
  23. void CWorking::DoDataExchange(CDataExchange* pDX)
  24. {
  25. CDialog::DoDataExchange(pDX);
  26. //{{AFX_DATA_MAP(CWorking)
  27. DDX_Text(pDX, IDC_STATIC_MESSAGE, m_strMessage);
  28. //}}AFX_DATA_MAP
  29. }
  30. BEGIN_MESSAGE_MAP(CWorking, CDialog)
  31. //{{AFX_MSG_MAP(CWorking)
  32. //}}AFX_MSG_MAP
  33. END_MESSAGE_MAP()
  34. /////////////////////////////////////////////////////////////////////////////
  35. // CWorking message handlers
  36. BOOL CWorking::OnInitDialog()
  37. {
  38. CDialog::OnInitDialog();
  39. CenterWindow();
  40. return TRUE; // return TRUE unless you set the focus to a control
  41. // EXCEPTION: OCX Property Pages should return FALSE
  42. }