OptionsGeneral.h 2.2 KB

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