forked from hiyohiyo/CrystalDiskInfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TemperatureDlg.h
52 lines (42 loc) · 1.31 KB
/
TemperatureDlg.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
/*---------------------------------------------------------------------------*/
// Author : hiyohiyo
// Mail : [email protected]
// Web : https://crystalmark.info/
// License : The MIT License
/*---------------------------------------------------------------------------*/
#pragma once
#include "DialogFx.h"
#include "StaticFx.h"
#include "ButtonFx.h"
#include "ComboBoxFx.h"
class CTemperatureDlg : public CDialogFx
{
DECLARE_DYNAMIC(CTemperatureDlg)
static const int SIZE_X = 400;
static const int SIZE_Y = 112;
public:
CTemperatureDlg(CWnd* pParent = NULL);
virtual ~CTemperatureDlg();
enum { IDD = IDD_TEMPERATURE };
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
virtual void UpdateDialogSize();
void InitSelectDisk();
void InitLang();
void UpdateSelectDisk(DWORD index);
DECLARE_MESSAGE_MAP()
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnApply();
afx_msg void OnDefault();
afx_msg void OnCbnSelchangeSelectDisk();
DWORD m_DiskIndex;
CString m_ValueTemperature;
CString m_ValueTemperatureF;
CScrollBar m_CtrlScrollbarTemperature;
CStaticFx m_CtrlValueTemperature;
CStaticFx m_CtrlValueTemperatureF;
CComboBoxFx m_CtrlSelectDisk;
CButtonFx m_CtrlApply;
CButtonFx m_CtrlDefault;
};