-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSampleDialogSettingCommand.h
More file actions
57 lines (47 loc) · 1.69 KB
/
SampleDialogSettingCommand.h
File metadata and controls
57 lines (47 loc) · 1.69 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
#pragma once
#include "BaseDialogSetting.h"
class SampleDialogSettingCommand : public BaseDialogSetting
{
public:
SampleDialogSettingCommand(TakionMainWnd* mainWnd, TakionSettingTabDialog* parentTab);
virtual HWND GetFirstTabControl() const override;
virtual void UpdateSettings() override;
virtual void RestoreLayout() override;
// virtual void UpdateControls() override;
// virtual void Leaving() override;
static void CleanupCommands();
protected:
virtual void ToolTipsEnabled(bool enable) override;
// void UpdateConnections();
// void UpdateConnection(const Connection* connection, bool connected);
virtual void DoDataExchange(CDataExchange* pDX) override;
virtual BOOL OnInitDialog() override;
virtual void BeforeDestroy() override;
CButton m_ButtonAddCommand;
CButton m_ButtonRemoveCommand;
CButton m_ButtonMapCommand;
CButton m_ButtonUnmapCommand;
CheckBoxOwnerDraw m_CheckBoxOverridePreviousMapping;
CEdit m_EditCommandName;
ValidEdit m_EditSymbol;
CButton m_ButtonExecuteCommand;
CheckBoxOwnerDraw m_CheckBoxExecuteCommandPost;
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnAddCommand();
afx_msg void OnRemoveCommand();
afx_msg void OnMapCommand();
afx_msg void OnUnmapCommand();
afx_msg void OnOverridePreviousMapping();
afx_msg void OnCommandNameChange();
afx_msg void OnSymbolChange();
afx_msg void OnSymbolUpdate();
afx_msg void OnCommandPost();
afx_msg void OnCommandExecute();
DECLARE_MESSAGE_MAP()
bool m_overridePreviousMapping;
void EnableExecuteButton();
bool m_commandPost;
std::string m_commandNameToExecute;
std::string m_symbol;
// unsigned __int64 m_numericSymbol;
};