OptionsGeneral.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. CButton m_btHideDittoOnHotKey;
  26. CNumberEdit m_DescTextSize;
  27. CButton m_btGetPath;
  28. CEdit m_ePath;
  29. CButton m_btSetDatabasePath;
  30. CButton m_btCheckForUpdates;
  31. CButton m_btCompactAndRepair;
  32. CNumberEdit m_eExpireAfter;
  33. CNumberEdit m_eMaxSavedCopies;
  34. CButton m_btMaximumCheck;
  35. CButton m_btExpire;
  36. CButton m_btShowIconInSysTray;
  37. CButton m_btRunOnStartup;
  38. CButton m_btAllowDuplicates;
  39. CButton m_btUpdateTimeOnPaste;
  40. CButton m_btSaveMultiPaste;
  41. //}}AFX_DATA
  42. // Overrides
  43. // ClassWizard generate virtual function overrides
  44. //{{AFX_VIRTUAL(COptionsGeneral)
  45. public:
  46. virtual BOOL OnSetActive();
  47. protected:
  48. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  49. virtual BOOL OnApply();
  50. //}}AFX_VIRTUAL
  51. // Implementation
  52. protected:
  53. COptionsSheet *m_pParent;
  54. // Generated message map functions
  55. //{{AFX_MSG(COptionsGeneral)
  56. virtual BOOL OnInitDialog();
  57. afx_msg void OnBtCompactAndRepair();
  58. afx_msg void OnCheckForUpdates();
  59. afx_msg void OnSetDbPath();
  60. afx_msg void OnGetPath();
  61. //}}AFX_MSG
  62. DECLARE_MESSAGE_MAP()
  63. public:
  64. };
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_OPTIONSGENERAL_H__A13ABBF6_7636_4426_9A31_0189D4CA8F2F__INCLUDED_)