OptionsKeyBoard.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #if !defined(AFX_OPTIONSKEYBOARD_H__3E1A060F_019B_4117_8C53_15326D1ABFAE__INCLUDED_)
  2. #define AFX_OPTIONSKEYBOARD_H__3E1A060F_019B_4117_8C53_15326D1ABFAE__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // OptionsKeyBoard.h : header file
  7. //
  8. #include "stdafx.h"
  9. #include "CP_Main.h"
  10. #include "OptionsSheet.h"
  11. #include "afxwin.h"
  12. #include "HyperLink.h"
  13. #include "afxcmn.h"
  14. /////////////////////////////////////////////////////////////////////////////
  15. // COptionsKeyBoard dialog
  16. class COptionsKeyBoard : public CPropertyPage
  17. {
  18. DECLARE_DYNCREATE(COptionsKeyBoard)
  19. // Construction
  20. public:
  21. COptionsKeyBoard();
  22. ~COptionsKeyBoard();
  23. // Dialog Data
  24. //{{AFX_DATA(COptionsKeyBoard)
  25. enum { IDD = IDD_OPTIONS_KEYSTROKES };
  26. CButton m_btSendPaste;
  27. CButton m_UseUiGroupForLastTen;
  28. CButton m_btMoveClipOnGlobal10;
  29. CHotKeyCtrl m_Nine;
  30. CHotKeyCtrl m_Eight;
  31. CHotKeyCtrl m_Seven;
  32. CHotKeyCtrl m_Six;
  33. CHotKeyCtrl m_Five;
  34. CHotKeyCtrl m_Four;
  35. CHotKeyCtrl m_Three;
  36. CHotKeyCtrl m_Two;
  37. CHotKeyCtrl m_Ten;
  38. CHotKeyCtrl m_One;
  39. CHotKeyCtrl m_HotKey;
  40. CHotKeyCtrl m_HotKey2;
  41. CHotKeyCtrl m_HotKey3;
  42. CHotKeyCtrl m_TextOnlyKey;
  43. CHotKeyCtrl m_copyAndSaveClipboardCtrl;
  44. //}}AFX_DATA
  45. // Overrides
  46. // ClassWizard generate virtual function overrides
  47. //{{AFX_VIRTUAL(COptionsKeyBoard)
  48. public:
  49. virtual LRESULT OnWizardNext();
  50. virtual BOOL OnWizardFinish();
  51. virtual BOOL OnApply();
  52. virtual void OnCancel();
  53. protected:
  54. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  55. //}}AFX_VIRTUAL
  56. // Implementation
  57. protected:
  58. // BOOL RegisterHotKey(WORD wHotKey);
  59. // BOOL ValidateHotKey(WORD wHotKey);
  60. COptionsSheet *m_pParent;
  61. CString m_csTitle;
  62. // Generated message map functions
  63. //{{AFX_MSG(COptionsKeyBoard)
  64. virtual BOOL OnInitDialog();
  65. //}}AFX_MSG
  66. DECLARE_MESSAGE_MAP()
  67. public:
  68. CMFCLinkCtrl m_CustomeKeysHelp;
  69. CHotKeyCtrl m_saveClipboardHotKey;
  70. };
  71. //{{AFX_INSERT_LOCATION}}
  72. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  73. #endif // !defined(AFX_OPTIONSKEYBOARD_H__3E1A060F_019B_4117_8C53_15326D1ABFAE__INCLUDED_)