OptionsKeyBoard.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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_btMoveClipOnGlobal10;
  28. CHotKeyCtrl m_Nine;
  29. CHotKeyCtrl m_Eight;
  30. CHotKeyCtrl m_Seven;
  31. CHotKeyCtrl m_Six;
  32. CHotKeyCtrl m_Five;
  33. CHotKeyCtrl m_Four;
  34. CHotKeyCtrl m_Three;
  35. CHotKeyCtrl m_Two;
  36. CHotKeyCtrl m_Ten;
  37. CHotKeyCtrl m_One;
  38. CHotKeyCtrl m_HotKey;
  39. CHotKeyCtrl m_HotKey2;
  40. CHotKeyCtrl m_HotKey3;
  41. CHotKeyCtrl m_TextOnlyKey;
  42. //}}AFX_DATA
  43. // Overrides
  44. // ClassWizard generate virtual function overrides
  45. //{{AFX_VIRTUAL(COptionsKeyBoard)
  46. public:
  47. virtual LRESULT OnWizardNext();
  48. virtual BOOL OnWizardFinish();
  49. virtual BOOL OnApply();
  50. virtual void OnCancel();
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. // BOOL RegisterHotKey(WORD wHotKey);
  57. // BOOL ValidateHotKey(WORD wHotKey);
  58. COptionsSheet *m_pParent;
  59. CString m_csTitle;
  60. // Generated message map functions
  61. //{{AFX_MSG(COptionsKeyBoard)
  62. virtual BOOL OnInitDialog();
  63. //}}AFX_MSG
  64. DECLARE_MESSAGE_MAP()
  65. public:
  66. CHyperLink m_CustomeKeysHelp;
  67. CHotKeyCtrl m_saveClipboardHotKey;
  68. };
  69. //{{AFX_INSERT_LOCATION}}
  70. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  71. #endif // !defined(AFX_OPTIONSKEYBOARD_H__3E1A060F_019B_4117_8C53_15326D1ABFAE__INCLUDED_)