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.

45 lines
964 B

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