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.

66 lines
1.7 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: CName.h
  7. //
  8. // Contents: definition of CConfigName
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_CNAME_H__7F9B3B39_ECEB_11D0_9C6E_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_CNAME_H__7F9B3B39_ECEB_11D0_9C6E_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #include "attr.h"
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CConfigName dialog
  19. class CConfigName : public CAttribute
  20. {
  21. // Construction
  22. public:
  23. virtual void Initialize(CResult * pResult);
  24. // virtual void SetInitialValue(DWORD_PTR dw) { };
  25. CConfigName(UINT nTemplateID); // standard constructor
  26. virtual ~CConfigName ();
  27. // Dialog Data
  28. //{{AFX_DATA(CConfigName)
  29. enum { IDD = IDD_CONFIG_NAME };
  30. CString m_strName;
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CConfigName)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CConfigName)
  42. virtual BOOL OnApply();
  43. afx_msg void OnConfigure();
  44. virtual BOOL OnInitDialog();
  45. virtual BOOL OnKillActive();
  46. afx_msg void OnChangeName();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. BOOL m_bNoBlanks;
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_CNAME_H__7F9B3B39_ECEB_11D0_9C6E_00C04FB6C6FA__INCLUDED_)