-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFilterKeysSetterDlg.h
More file actions
92 lines (68 loc) · 1.76 KB
/
FilterKeysSetterDlg.h
File metadata and controls
92 lines (68 loc) · 1.76 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// FilterKeysSetterDlg.h : header file
//
#pragma once
#include "afxwin.h"
// CFilterKeysSetterDlg dialog
class CFilterKeysSetterDlg : public CDialog
{
// Construction
public:
CFilterKeysSetterDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_FILTERKEYSSETTER_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
void SetValues(const FILTERKEYS &filter_keys);
void SetFlags(DWORD dwFlags);
DWORD GetFlagsVal();
void UpdateFlagVal();
void UpdateCharsPerSec();
void UpdateControls();
bool SaveSettings();
void ErrorBox(const TCHAR* msg);
// Generated message map functions
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBnClickedIgnoreQuick();
afx_msg void OnBnClickedIgnoreRepeated();
afx_msg void OnBnClickedFlag();
afx_msg void OnEnChangeRepeatEdit();
afx_msg void OnBnClickedSetCurrent();
afx_msg void OnBnClickedSetRegistry();
afx_msg void OnBnClickedSetNormal();
afx_msg void OnBnClickedSetDefaults();
afx_msg void OnBnClickedSetOriginal();
afx_msg void OnBnClickedApply();
DECLARE_MESSAGE_MAP()
FILTERKEYS m_fkOriginal;
int m_nMode;
int m_nWait;
int m_nDelay;
int m_nRepeat;
int m_nBounce;
BOOL m_bOn;
BOOL m_bAvailable;
BOOL m_bIndicator;
BOOL m_bClick;
BOOL m_bHotKeyActive;
BOOL m_bConfirmHotKey;
BOOL m_bHotKeySound;
BOOL m_bUpdateIniFile;
BOOL m_bSendChange;
// Controls...
CEdit m_editWait;
CEdit m_editDelay;
CEdit m_editRepeat;
CEdit m_editBounce;
CButton m_radioIgnoreQuick;
CButton m_radioIgnoreRepeated;
CStatic m_staticFlagVal;
CStatic m_staticCharsPerSec;
public:
};