-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMeterControlDlg.h
48 lines (37 loc) · 1.03 KB
/
MeterControlDlg.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
// MeterControlDlg.h : 头文件
//
#pragma once
#include "afxwin.h"
// CMeterControlDlg 对话框
class CMeterControlDlg : public CDialogEx
{
public:
static UINT ThreadWorks(LPVOID pParam);
static BOOL MyDoEvents();
void FreeResource();
afx_msg LRESULT OnShowPicMeter(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnShowPicLineExpected(WPARAM wParam, LPARAM lParam);
// 构造
public:
CMeterControlDlg(CWnd* pParent = NULL); // 标准构造函数
// 对话框数据
enum { IDD = IDD_METERCONTROL_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m_hIcon;
// 生成的消息映射函数
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
CScrollBar m_ScrollBar;
afx_msg void OnClose();
afx_msg void OnClickedButtonSet();
afx_msg void OnClickedButtonCancel();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnBnClickedButtonStart();
afx_msg void OnBnClickedButtonClose();
};