OptionsGeneral.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. #if !defined(AFX_OPTIONSGENERAL_H__A13ABBF6_7636_4426_9A31_0189D4CA8F2F__INCLUDED_)
  2. #define AFX_OPTIONSGENERAL_H__A13ABBF6_7636_4426_9A31_0189D4CA8F2F__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // OptionsGeneral.h : header file
  7. //
  8. #include "stdafx.h"
  9. #include "CP_Main.h"
  10. #include "OptionsSheet.h"
  11. #include "NumberEdit.h"
  12. #include "afxwin.h"
  13. /////////////////////////////////////////////////////////////////////////////
  14. // COptionsGeneral dialog
  15. class COptionsGeneral : public CPropertyPage
  16. {
  17. DECLARE_DYNCREATE(COptionsGeneral)
  18. // Construction
  19. public:
  20. COptionsGeneral();
  21. ~COptionsGeneral();
  22. // Dialog Data
  23. //{{AFX_DATA(COptionsGeneral)
  24. enum { IDD = IDD_OPTIONS_GENERAL };
  25. CNumberEdit m_DescTextSize;
  26. CButton m_btGetPath;
  27. CEdit m_ePath;
  28. CButton m_btSetDatabasePath;
  29. CButton m_btCheckForUpdates;
  30. CButton m_btCompactAndRepair;
  31. CNumberEdit m_eExpireAfter;
  32. CNumberEdit m_eMaxSavedCopies;
  33. CButton m_btMaximumCheck;
  34. CButton m_btExpire;
  35. CButton m_btShowIconInSysTray;
  36. CButton m_btRunOnStartup;
  37. CButton m_btAllowDuplicates;
  38. CButton m_btUpdateTimeOnPaste;
  39. CButton m_btSaveMultiPaste;
  40. //}}AFX_DATA
  41. // Overrides
  42. // ClassWizard generate virtual function overrides
  43. //{{AFX_VIRTUAL(COptionsGeneral)
  44. public:
  45. virtual BOOL OnSetActive();
  46. protected:
  47. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  48. virtual BOOL OnApply();
  49. //}}AFX_VIRTUAL
  50. // Implementation
  51. protected:
  52. COptionsSheet *m_pParent;
  53. // Generated message map functions
  54. //{{AFX_MSG(COptionsGeneral)
  55. virtual BOOL OnInitDialog();
  56. afx_msg void OnBtCompactAndRepair();
  57. afx_msg void OnCheckForUpdates();
  58. afx_msg void OnSetDbPath();
  59. afx_msg void OnGetPath();
  60. //}}AFX_MSG
  61. DECLARE_MESSAGE_MAP()
  62. public:
  63. };
  64. //{{AFX_INSERT_LOCATION}}
  65. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  66. #endif // !defined(AFX_OPTIONSGENERAL_H__A13ABBF6_7636_4426_9A31_0189D4CA8F2F__INCLUDED_)