forked from hiyohiyo/CrystalDiskInfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OptionDlg.h
115 lines (101 loc) · 4.06 KB
/
OptionDlg.h
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*---------------------------------------------------------------------------*/
// Author : hiyohiyo
// Mail : [email protected]
// Web : https://crystalmark.info/
// License : The MIT License
/*---------------------------------------------------------------------------*/
#pragma once
#include "AtaSmart.h"
class COptionDlg : public CDHtmlDialogEx
{
DECLARE_DYNCREATE(COptionDlg)
static const int SIZE_X = 480;
static const int SIZE_Y = 480;
public:
COptionDlg(CWnd* pParent = NULL);
virtual ~COptionDlg();
COLORREF m_CurrentLineColor[CAtaSmart::MAX_DISK + 1];
COLORREF m_DefaultLineColor[CAtaSmart::MAX_DISK + 1];
enum { IDD = IDD_OPTION, IDH = IDR_HTML_DUMMY };
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
virtual void InitDialogComplete();
CString m_ColorCode[CAtaSmart::MAX_DISK + 1];
CString m_LabelLineColor;
CString m_LabelThreshold;
CString m_LabelBkImage;
CString m_BkImage;
CString m_Reset;
HRESULT OnSelect0(IHTMLElement *pElement);
HRESULT OnSelect1(IHTMLElement *pElement);
HRESULT OnSelect2(IHTMLElement *pElement);
HRESULT OnSelect3(IHTMLElement *pElement);
HRESULT OnSelect4(IHTMLElement *pElement);
HRESULT OnSelect5(IHTMLElement *pElement);
HRESULT OnSelect6(IHTMLElement *pElement);
HRESULT OnSelect7(IHTMLElement *pElement);
HRESULT OnSelect8(IHTMLElement *pElement);
HRESULT OnSelect9(IHTMLElement *pElement);
HRESULT OnSelect10(IHTMLElement *pElement);
HRESULT OnSelect11(IHTMLElement *pElement);
HRESULT OnSelect12(IHTMLElement *pElement);
HRESULT OnSelect13(IHTMLElement *pElement);
HRESULT OnSelect14(IHTMLElement *pElement);
HRESULT OnSelect15(IHTMLElement *pElement);
HRESULT OnSelect16(IHTMLElement *pElement);
HRESULT OnSelect17(IHTMLElement *pElement);
HRESULT OnSelect18(IHTMLElement *pElement);
HRESULT OnSelect19(IHTMLElement *pElement);
HRESULT OnSelect20(IHTMLElement *pElement);
HRESULT OnSelect21(IHTMLElement *pElement);
HRESULT OnSelect22(IHTMLElement *pElement);
HRESULT OnSelect23(IHTMLElement *pElement);
HRESULT OnSelect24(IHTMLElement *pElement);
HRESULT OnSelect25(IHTMLElement *pElement);
HRESULT OnSelect26(IHTMLElement *pElement);
HRESULT OnSelect27(IHTMLElement *pElement);
HRESULT OnSelect28(IHTMLElement *pElement);
HRESULT OnSelect29(IHTMLElement *pElement);
HRESULT OnSelect30(IHTMLElement *pElement);
HRESULT OnSelect31(IHTMLElement *pElement);
HRESULT OnSelect32(IHTMLElement *pElement);
HRESULT OnSelect33(IHTMLElement *pElement);
HRESULT OnSelect34(IHTMLElement *pElement);
HRESULT OnSelect35(IHTMLElement *pElement);
HRESULT OnSelect36(IHTMLElement *pElement);
HRESULT OnSelect37(IHTMLElement *pElement);
HRESULT OnSelect38(IHTMLElement *pElement);
HRESULT OnSelect39(IHTMLElement *pElement);
HRESULT OnSelect40(IHTMLElement *pElement);
HRESULT OnSelect41(IHTMLElement *pElement);
HRESULT OnSelect42(IHTMLElement *pElement);
HRESULT OnSelect43(IHTMLElement *pElement);
HRESULT OnSelect44(IHTMLElement *pElement);
HRESULT OnSelect45(IHTMLElement *pElement);
HRESULT OnSelect46(IHTMLElement *pElement);
HRESULT OnSelect47(IHTMLElement *pElement);
HRESULT OnSelect48(IHTMLElement *pElement);
HRESULT OnSelect49(IHTMLElement *pElement);
HRESULT OnSelect50(IHTMLElement *pElement);
HRESULT OnSelect51(IHTMLElement *pElement);
HRESULT OnSelect52(IHTMLElement *pElement);
HRESULT OnSelect53(IHTMLElement *pElement);
HRESULT OnSelect54(IHTMLElement *pElement);
HRESULT OnSelect55(IHTMLElement *pElement);
HRESULT OnSelect56(IHTMLElement *pElement);
HRESULT OnSelect57(IHTMLElement *pElement);
HRESULT OnSelect58(IHTMLElement *pElement);
HRESULT OnSelect59(IHTMLElement *pElement);
HRESULT OnSelect60(IHTMLElement *pElement);
HRESULT OnSelect61(IHTMLElement *pElement);
HRESULT OnSelect62(IHTMLElement *pElement);
HRESULT OnSelect63(IHTMLElement *pElement);
HRESULT OnSelect64(IHTMLElement *pElement);
HRESULT OnSelectBkImage(IHTMLElement *pElement);
HRESULT OnNoBkImage(IHTMLElement *pElement);
HRESULT OnReset(IHTMLElement *pElement);
void SelectColor(DWORD index);
DECLARE_MESSAGE_MAP()
DECLARE_DHTML_EVENT_MAP()
};