OSDN Git Service

Add .vs/ to .gitignore
[xkeymacs/xkeymacs.git] / xkeymacs / propertiesbasic.h
1 #if !defined(AFX_PROPERTIESBASIC_H__04D80B48_2913_4D7C_86A4_3049877B6996__INCLUDED_)\r
2 #define AFX_PROPERTIESBASIC_H__04D80B48_2913_4D7C_86A4_3049877B6996__INCLUDED_\r
3 \r
4 class CProperties;\r
5 #if _MSC_VER > 1000\r
6 #pragma once\r
7 #endif // _MSC_VER > 1000\r
8 // PropertiesBasic.h : header file\r
9 //\r
10 \r
11 #include "resource.h"\r
12 #include "../xkeymacsdll/CmdTable.h"\r
13 class CProperties;\r
14 \r
15 /////////////////////////////////////////////////////////////////////////////\r
16 // CPropertiesBasic dialog\r
17 \r
18 class CPropertiesBasic : public CPropertyPage\r
19 {\r
20         DECLARE_DYNCREATE(CPropertiesBasic)\r
21 \r
22 // Construction\r
23 public:\r
24         CPropertiesBasic();\r
25         ~CPropertiesBasic();\r
26 \r
27 // Dialog Data\r
28         //{{AFX_DATA(CPropertiesBasic)\r
29         enum { IDD = IDD_PROPERTIES_BASIC };\r
30         //}}AFX_DATA\r
31 \r
32 // Overrides\r
33         // ClassWizard generate virtual function overrides\r
34         //{{AFX_VIRTUAL(CPropertiesBasic)\r
35         public:\r
36         virtual BOOL OnSetActive();\r
37         virtual BOOL OnKillActive();\r
38         virtual BOOL PreTranslateMessage(MSG* pMsg);\r
39         protected:\r
40         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
41         //}}AFX_VIRTUAL\r
42 \r
43 public:\r
44         void EnableControl();\r
45         void GetDialogData();\r
46         void SetDialogData();\r
47         void SetDefaultBind(UINT nCheck);\r
48 \r
49         // Implementation\r
50 protected:\r
51         // Generated message map functions\r
52         //{{AFX_MSG(CPropertiesBasic)\r
53         virtual BOOL OnInitDialog();\r
54         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);\r
55         afx_msg void OnAlt();\r
56         afx_msg void OnC_();\r
57         afx_msg void OnCa();\r
58         afx_msg void OnCb();\r
59         afx_msg void OnCbackslash();\r
60         afx_msg void OnCbackslash106();\r
61         afx_msg void OnCd();\r
62         afx_msg void OnCdigit();\r
63         afx_msg void OnCe();\r
64         afx_msg void OnCf();\r
65         afx_msg void OnCg();\r
66         afx_msg void OnCh();\r
67         afx_msg void OnCi();\r
68         afx_msg void OnCk();\r
69         afx_msg void OnCl();\r
70         afx_msg void OnCm();\r
71         afx_msg void OnCms5();\r
72         afx_msg void OnCn();\r
73         afx_msg void OnCo();\r
74         afx_msg void OnCo2();\r
75         afx_msg void OnCp();\r
76         afx_msg void OnCq();\r
77         afx_msg void OnCr();\r
78         afx_msg void OnCs();\r
79         afx_msg void OnCslash();\r
80         afx_msg void OnCspace();\r
81         afx_msg void OnCt();\r
82         afx_msg void OnCu();\r
83         afx_msg void OnCv();\r
84         afx_msg void OnCw();\r
85         afx_msg void OnCxb();\r
86         afx_msg void OnCxcc();\r
87         afx_msg void OnCxcf();\r
88         afx_msg void OnCxcj();\r
89         afx_msg void OnCxcp();\r
90         afx_msg void OnCxcs();\r
91         afx_msg void OnCxct();\r
92         afx_msg void OnCxcw();\r
93         afx_msg void OnCxe();\r
94         afx_msg void OnCxh();\r
95         afx_msg void OnCxk();\r
96         afx_msg void OnCxs0();\r
97         afx_msg void OnCxs9();\r
98         afx_msg void OnCxu();\r
99         afx_msg void OnCy();\r
100         afx_msg void OnCz();\r
101         afx_msg void OnLeftAlt();\r
102         afx_msg void OnMb();\r
103         afx_msg void OnMd();\r
104         afx_msg void OnMf();\r
105         afx_msg void OnMi();\r
106         afx_msg void OnMs1();\r
107         afx_msg void OnMs5();\r
108         afx_msg void OnMscomma();\r
109         afx_msg void OnMsperiod();\r
110         afx_msg void OnMv();\r
111         afx_msg void OnMw();\r
112         afx_msg void OnMy();\r
113         afx_msg void OnRightAlt();\r
114         afx_msg void OnEscape();\r
115         afx_msg void OnSquareBra();\r
116         afx_msg void OnMdel();\r
117         afx_msg void OnMf12();\r
118         afx_msg void OnMt();\r
119         afx_msg void OnMc();\r
120         afx_msg void OnMl();\r
121         afx_msg void OnMu();\r
122         afx_msg void OnMx();\r
123         //}}AFX_MSG\r
124         DECLARE_MESSAGE_MAP()\r
125 private:\r
126         CProperties* m_pProperties;\r
127         BOOL m_Changed[MAX_COMMAND];\r
128         CToolTipCtrl m_ToolTip;\r
129         void EnableControlHandler(int cmdID, const KeyBind& bind, int enable);\r
130         void GetDialogDataHandler(int cmdID, const KeyBind& bind, int appID);\r
131         void SetDialogDataHandler(int cmdID, const KeyBind& bind, int appID);\r
132         void SetDefaultBindHandler(int cmdID, const KeyBind& bind, int checked);\r
133         void Changed(int ctrlID);\r
134         void ChangedHandler(int cmdID, const KeyBind& bind, int ctrlID);\r
135         void OnInitDialogHandler(int cmdID, const KeyBind& bind, int arg);\r
136 };\r
137 \r
138 //{{AFX_INSERT_LOCATION}}\r
139 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.\r
140 \r
141 #include "properties.h"\r
142 \r
143 #endif // !defined(AFX_PROPERTIESBASIC_H__04D80B48_2913_4D7C_86A4_3049877B6996__INCLUDED_)\r