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.

61 lines
1.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: aenable.h
  7. //
  8. // Contents: definition of CAttrEnable
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_ATTRENABLE_H__76BA1B2E_D221_11D0_9C68_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_ATTRENABLE_H__76BA1B2E_D221_11D0_9C68_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #include "resource.h"
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CAttrEnable dialog
  19. class CAttrEnable : public CAttribute
  20. {
  21. // Construction
  22. public:
  23. virtual void Initialize(CResult *pResult);
  24. virtual void SetInitialValue(DWORD_PTR dw);
  25. CAttrEnable(UINT nTemplateID); // standard constructor
  26. // Dialog Data
  27. //{{AFX_DATA(CAttrEnable)
  28. enum { IDD = IDD_ATTR_ENABLE };
  29. CString m_Current;
  30. int m_EnabledRadio;
  31. CString m_Title;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CAttrEnable)
  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(CAttrEnable)
  43. virtual BOOL OnApply();
  44. virtual void OnRadio();
  45. virtual BOOL OnInitDialog();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_ATTRENABLE_H__76BA1B2E_D221_11D0_9C68_00C04FB6C6FA__INCLUDED_)