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.

69 lines
1.8 KiB

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