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.

62 lines
1.7 KiB

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