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.

49 lines
1.2 KiB

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