OptionsGeneral.h 2.1 KB

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