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.

47 lines
1.0 KiB

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