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.

65 lines
1.8 KiB

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