forked from xarzhi/iClick
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFrontDlg.h
More file actions
48 lines (39 loc) · 1013 Bytes
/
Copy pathFrontDlg.h
File metadata and controls
48 lines (39 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once
#include "afxdialogex.h"
// FrontDlg 对话框
class FrontDlg : public CDialogEx
{
DECLARE_DYNAMIC(FrontDlg)
public:
FrontDlg(CWnd* pParent = nullptr); // 标准构造函数
virtual ~FrontDlg();
virtual void OnFinalRelease();
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_FRONTDLG };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
protected:
virtual BOOL PreTranslateMessage(MSG* pMsg) {
if (pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_ESCAPE) {
return TRUE;
}
return CDialogEx::PreTranslateMessage(pMsg);
}
virtual BOOL OnInitDialog();
public:
UINT gap = 20;
UINT start_hotkey = VK_F9;
CHotKeyCtrl start_hotkey_ipt;
CEdit gap_ipt;
int main_tab_index;
afx_msg void OnHotKey(UINT nHotKeyId, UINT nKey1, UINT nKey2);
afx_msg void OnHotKeyChanged();
BOOL isClick = FALSE;
afx_msg void OnEnChangeEdit1();
UINT loop_times = 0;
afx_msg void OnEnChangeEdit2();
CEdit loop_ipt;
};