We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0cdbe7 commit 725abbeCopy full SHA for 725abbe
TrafficMonitor/CAutoAdaptSettingsDlg.cpp
@@ -47,6 +47,11 @@ void CAutoAdaptSettingsDlg::DoDataExchange(CDataExchange* pDX)
47
DDX_Control(pDX, IDC_LIGHT_MODE_DEFAULT_STYLE_COMBO, m_light_mode_default_style_combo);
48
}
49
50
+CString CAutoAdaptSettingsDlg::GetDialogName() const
51
+{
52
+ return _T("AutoAdaptSettingsDlg");
53
+}
54
+
55
bool CAutoAdaptSettingsDlg::InitializeControls()
56
{
57
RepositionTextBasedControls({
TrafficMonitor/CAutoAdaptSettingsDlg.h
@@ -28,6 +28,7 @@ class CAutoAdaptSettingsDlg : public CBaseDialog
28
29
protected:
30
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
31
+ virtual CString GetDialogName() const override;
32
virtual bool InitializeControls() override;
33
34
DECLARE_MESSAGE_MAP()
TrafficMonitor/MainWndSettingsDlg.cpp
@@ -33,6 +33,13 @@ void CMainWndSettingsDlg::SetControlMouseWheelEnable(bool enable)
bool CMainWndSettingsDlg::InitializeControls()
35
36
+ RepositionTextBasedControls({
37
+ { CtrlTextInfo::L4, IDC_FONT_STATIC },
38
+ { CtrlTextInfo::C0, IDC_FONT_NAME_EDIT },
39
+ { CtrlTextInfo::R1, IDC_FONT_SIZE_STATIC },
40
+ { CtrlTextInfo::R2, IDC_FONT_SIZE_EDIT },
41
+ { CtrlTextInfo::R3, IDC_SET_FONT_BUTTON, CtrlTextInfo::W16 }
42
+ });
43
44
{ CtrlTextInfo::L4, IDC_TXT_COLOR_LABEL_STATIC },
45
{ CtrlTextInfo::L3, IDC_TEXT_COLOR_STATIC },
TrafficMonitor/SkinAutoAdaptSettingDlg.cpp
@@ -37,6 +37,11 @@ void CSkinAutoAdaptSettingDlg::DoDataExchange(CDataExchange* pDX)
DDX_Control(pDX, IDC_LIGHT_MODE_SKIN_COMBO, m_light_mode_skin_combo);
+CString CSkinAutoAdaptSettingDlg::GetDialogName() const
+ return _T("SkinAutoAdaptSettingDlg");
bool CSkinAutoAdaptSettingDlg::InitializeControls()
46
TrafficMonitor/SkinAutoAdaptSettingDlg.h
@@ -33,6 +33,7 @@ class CSkinAutoAdaptSettingDlg : public CBaseDialog
TrafficMonitor/TaskBarSettingsDlg.cpp
@@ -135,10 +135,18 @@ void CTaskBarSettingsDlg::SetControlMouseWheelEnable(bool enable)
135
136
bool CTaskBarSettingsDlg::InitializeControls()
137
138
139
+ { CtrlTextInfo::L1, IDC_FONT_STATIC },
140
+ { CtrlTextInfo::C0, IDC_FONT_NAME_EDIT1 },
141
142
+ { CtrlTextInfo::R2, IDC_FONT_SIZE_EDIT1 },
143
+ { CtrlTextInfo::R3, IDC_SET_FONT_BUTTON1, CtrlTextInfo::W16 }
144
145
146
{ CtrlTextInfo::L2, IDC_TXT_COLOR_STATIC },
147
{ CtrlTextInfo::L1, IDC_TEXT_COLOR_STATIC1 },
148
{ CtrlTextInfo::C0, IDC_SPECIFY_EACH_ITEM_COLOR_CHECK, CtrlTextInfo::W16 },
149
+ { CtrlTextInfo::R1, IDC_DEFAULT_STYLE_BUTTON, CtrlTextInfo::W16 },
150
{ CtrlTextInfo::L2, IDC_BACK_COLOR_STATIC },
151
{ CtrlTextInfo::L1, IDC_TEXT_COLOR_STATIC2 },
152
{ CtrlTextInfo::C0, IDC_BACKGROUND_TRANSPARENT_CHECK, CtrlTextInfo::W16 }
TrafficMonitor/TrafficMonitor.rc
60 Bytes
TrafficMonitor/resource.h
@@ -335,6 +335,8 @@
335
#define IDC_GRAPH_DISPLAY_MODE_STATIC 1201
336
#define IDC_DARK_MODE_STATIC 1202
337
#define IDC_LIGHT_MODE_STATIC 1203
338
+#define IDC_FONT_STATIC 1204
339
+#define IDC_FONT_SIZE_STATIC 1205
340
#define ID_32771 32771
341
#define ID_NETWORK_INFO 32772
342
#define ID_32773 32773
@@ -456,7 +458,7 @@
456
458
#ifndef APSTUDIO_READONLY_SYMBOLS
457
459
#define _APS_NEXT_RESOURCE_VALUE 348
460
#define _APS_NEXT_COMMAND_VALUE 33665
-#define _APS_NEXT_CONTROL_VALUE 1204
461
+#define _APS_NEXT_CONTROL_VALUE 1206
462
#define _APS_NEXT_SYMED_VALUE 101
463
#endif
464
0 commit comments