Windows NT 4.0 source code leak
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
1.1 KiB

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