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.

79 lines
1.9 KiB

  1. // MoveItem.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "viewex.h"
  5. #include "MoveItem.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CMoveItem dialog
  13. /***********************************************************
  14. Function:
  15. Arguments:
  16. Return:
  17. Purpose:
  18. Author(s):
  19. Revision:
  20. Date:
  21. ***********************************************************/
  22. CMoveItem::CMoveItem(CWnd* pParent /*=NULL*/)
  23. : CDialog(CMoveItem::IDD, pParent)
  24. {
  25. //{{AFX_DATA_INIT(CMoveItem)
  26. m_strDestination = _T("");
  27. m_strParent = _T("");
  28. m_strSource = _T("");
  29. //}}AFX_DATA_INIT
  30. }
  31. /***********************************************************
  32. Function: CMoveItem::SetParentName
  33. Arguments:
  34. Return:
  35. Purpose:
  36. Author(s):
  37. Revision:
  38. Date:
  39. ***********************************************************/
  40. void CMoveItem::SetContainerName( CString strParent )
  41. {
  42. m_strParent = strParent;
  43. }
  44. /***********************************************************
  45. Function:
  46. Arguments:
  47. Return:
  48. Purpose:
  49. Author(s):
  50. Revision:
  51. Date:
  52. ***********************************************************/
  53. void CMoveItem::DoDataExchange(CDataExchange* pDX)
  54. {
  55. CDialog::DoDataExchange(pDX);
  56. //{{AFX_DATA_MAP(CMoveItem)
  57. DDX_Text(pDX, IDC_DESTINATION, m_strDestination);
  58. DDX_Text(pDX, IDC_PARENT, m_strParent);
  59. DDX_Text(pDX, IDC_SOURCE, m_strSource);
  60. //}}AFX_DATA_MAP
  61. }
  62. BEGIN_MESSAGE_MAP(CMoveItem, CDialog)
  63. //{{AFX_MSG_MAP(CMoveItem)
  64. // NOTE: the ClassWizard will add message map macros here
  65. //}}AFX_MSG_MAP
  66. END_MESSAGE_MAP()
  67. /////////////////////////////////////////////////////////////////////////////
  68. // CMoveItem message handlers