| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- #if !defined(AFX_OPTIONSGENERAL_H__A13ABBF6_7636_4426_9A31_0189D4CA8F2F__INCLUDED_)
- #define AFX_OPTIONSGENERAL_H__A13ABBF6_7636_4426_9A31_0189D4CA8F2F__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // OptionsGeneral.h : header file
- //
- #include "stdafx.h"
- #include "CP_Main.h"
- #include "OptionsSheet.h"
- #include "NumberEdit.h"
- #include "afxwin.h"
- #include "HyperLink.h"
- /////////////////////////////////////////////////////////////////////////////
- // COptionsGeneral dialog
- class COptionsGeneral : public CPropertyPage
- {
- DECLARE_DYNCREATE(COptionsGeneral)
- // Construction
- public:
- COptionsGeneral();
- ~COptionsGeneral();
- // Dialog Data
- //{{AFX_DATA(COptionsGeneral)
- enum { IDD = IDD_OPTIONS_GENERAL };
- //CButton m_EnsureConnected;
- CNumberEdit m_SaveDelay;
- CComboBox m_cbLanguage;
- CEdit m_MaxClipSize;
- CButton m_btSendPasteMessage;
- CButton m_btHideDittoOnHotKey;
- CNumberEdit m_DescTextSize;
- CEdit m_ePath;
- CNumberEdit m_eExpireAfter;
- CNumberEdit m_eMaxSavedCopies;
- CButton m_btMaximumCheck;
- CButton m_btExpire;
- CButton m_btShowIconInSysTray;
- CButton m_btRunOnStartup;
- CButton m_btSaveMultiPaste;
- CString m_csPlaySound;
- CEdit m_ClipSeparator;
- CEdit m_copyAppInclude;
- CEdit m_copyAppExclude;
- CMFCLinkCtrl m_envVarLink;
-
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(COptionsGeneral)
- public:
- virtual BOOL OnSetActive();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual BOOL OnApply();
- //}}AFX_VIRTUAL
- // Implementation
- protected:
-
- COptionsSheet *m_pParent;
- CString m_csTitle;
- CBrush m_brush;
- CFont m_Font;
- LOGFONT m_LogFont;
- CFont m_envVarFont;
- void FillThemes();
-
- void FillLanguages();
- // Generated message map functions
- //{{AFX_MSG(COptionsGeneral)
- virtual BOOL OnInitDialog();
- afx_msg void OnGetPath();
- afx_msg void OnButtonAbout();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnBnClickedButtonAdvanced();
- afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
- afx_msg void OnBnClickedButtonTheme();
- afx_msg void OnBnClickedButtonDefaultFault();
- afx_msg void OnBnClickedButtonFont();
- CComboBox m_cbTheme;
- CButton m_btFont;
- CButton m_btDefaultButton;
- CComboBox m_popupPositionCombo;
- //afx_msg void OnNMClickSyslinkEnvVarInfo(NMHDR *pNMHDR, LRESULT *pResult);
- //afx_msg void OnEnChangePath();
- afx_msg void OnEnChangePath();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_OPTIONSGENERAL_H__A13ABBF6_7636_4426_9A31_0189D4CA8F2F__INCLUDED_)
|