Leaked source code of windows server 2003
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.

62 lines
1.6 KiB

  1. // Wiaeditpropnone.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "wiatest.h"
  5. #include "Wiaeditpropnone.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CWiaeditpropnone dialog
  13. CWiaeditpropnone::CWiaeditpropnone(CWnd* pParent /*=NULL*/)
  14. : CDialog(CWiaeditpropnone::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CWiaeditpropnone)
  17. m_szPropertyName = _T("");
  18. m_szPropertyValue = _T("");
  19. m_szFormattingInstructions = _T("");
  20. //}}AFX_DATA_INIT
  21. }
  22. void CWiaeditpropnone::DoDataExchange(CDataExchange* pDX)
  23. {
  24. CDialog::DoDataExchange(pDX);
  25. //{{AFX_DATA_MAP(CWiaeditpropnone)
  26. DDX_Text(pDX, IDC_NONE_PROPERTY_NAME, m_szPropertyName);
  27. DDX_Text(pDX, IDC_NONE_PROPERTYVALUE_EDITBOX, m_szPropertyValue);
  28. DDX_Text(pDX, IDC_NONE_PROPERTY_FORMATTING_TEXT, m_szFormattingInstructions);
  29. //}}AFX_DATA_MAP
  30. }
  31. BEGIN_MESSAGE_MAP(CWiaeditpropnone, CDialog)
  32. //{{AFX_MSG_MAP(CWiaeditpropnone)
  33. // NOTE: the ClassWizard will add message map macros here
  34. //}}AFX_MSG_MAP
  35. END_MESSAGE_MAP()
  36. /////////////////////////////////////////////////////////////////////////////
  37. // CWiaeditpropnone message handlers
  38. void CWiaeditpropnone::SetPropertyName(TCHAR *szPropertyName)
  39. {
  40. m_szPropertyName = szPropertyName;
  41. }
  42. void CWiaeditpropnone::SetPropertyValue(TCHAR *szPropertyValue)
  43. {
  44. m_szPropertyValue = szPropertyValue;
  45. }
  46. void CWiaeditpropnone::SetPropertyFormattingInstructions(TCHAR *szFormatting)
  47. {
  48. m_szFormattingInstructions = szFormatting;
  49. }