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.

67 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. clusname.cpp
  5. Abstract:
  6. Author:
  7. Sivaprasad Padisetty (sivapad) 6/25/97
  8. Revision History:
  9. --*/
  10. #include "stdafx.h"
  11. #include "evtview.h"
  12. #include "clusname.h"
  13. #ifdef _DEBUG
  14. #define new DEBUG_NEW
  15. #undef THIS_FILE
  16. static char THIS_FILE[] = __FILE__;
  17. #endif
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CGetClusterName dialog
  20. CGetClusterName::CGetClusterName(CWnd* pParent /*=NULL*/)
  21. : CDialog(CGetClusterName::IDD, pParent)
  22. {
  23. //{{AFX_DATA_INIT(CGetClusterName)
  24. //}}AFX_DATA_INIT
  25. }
  26. void CGetClusterName::DoDataExchange(CDataExchange* pDX)
  27. {
  28. CDialog::DoDataExchange(pDX);
  29. //{{AFX_DATA_MAP(CGetClusterName)
  30. DDX_Control(pDX, IDC_CLUSTERNAME, m_ctrlClusterName);
  31. //}}AFX_DATA_MAP
  32. }
  33. BEGIN_MESSAGE_MAP(CGetClusterName, CDialog)
  34. //{{AFX_MSG_MAP(CGetClusterName)
  35. //}}AFX_MSG_MAP
  36. END_MESSAGE_MAP()
  37. /////////////////////////////////////////////////////////////////////////////
  38. // CGetClusterName message handlers
  39. void CGetClusterName::OnOK()
  40. {
  41. m_ctrlClusterName.GetWindowText (m_stClusterName) ;
  42. CDialog::OnOK();
  43. }