OptionsGeneral.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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_EnsureConnected;
  26. CNumberEdit m_SaveDelay;
  27. CComboBox m_cbLanguage;
  28. CEdit m_MaxClipSize;
  29. CButton m_btSendPasteMessage;
  30. CButton m_btHideDittoOnHotKey;
  31. CNumberEdit m_DescTextSize;
  32. CEdit m_ePath;
  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_btSaveMultiPaste;
  40. CString m_csPlaySound;
  41. CEdit m_ClipSeparator;
  42. CEdit m_copyAppInclude;
  43. CEdit m_copyAppExclude;
  44. //}}AFX_DATA
  45. // Overrides
  46. // ClassWizard generate virtual function overrides
  47. //{{AFX_VIRTUAL(COptionsGeneral)
  48. public:
  49. virtual BOOL OnSetActive();
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  52. virtual BOOL OnApply();
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. COptionsSheet *m_pParent;
  57. CString m_csTitle;
  58. CBrush m_brush;
  59. CFont m_Font;
  60. LOGFONT m_LogFont;
  61. void FillThemes();
  62. void FillLanguages();
  63. // Generated message map functions
  64. //{{AFX_MSG(COptionsGeneral)
  65. virtual BOOL OnInitDialog();
  66. afx_msg void OnGetPath();
  67. afx_msg void OnButtonAbout();
  68. //}}AFX_MSG
  69. DECLARE_MESSAGE_MAP()
  70. public:
  71. afx_msg void OnBnClickedButtonAdvanced();
  72. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  73. afx_msg void OnBnClickedButtonTheme();
  74. afx_msg void OnBnClickedButtonDefaultFault();
  75. afx_msg void OnBnClickedButtonFont();
  76. CComboBox m_cbTheme;
  77. CButton m_btFont;
  78. CButton m_btDefaultButton;
  79. CComboBox m_popupPositionCombo;
  80. };
  81. //{{AFX_INSERT_LOCATION}}
  82. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  83. #endif // !defined(AFX_OPTIONSGENERAL_H__A13ABBF6_7636_4426_9A31_0189D4CA8F2F__INCLUDED_)