-
Notifications
You must be signed in to change notification settings - Fork 1
/
work1Dlg.h
54 lines (45 loc) · 2.41 KB
/
work1Dlg.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
// work1Dlg.h: 標頭檔
//
#pragma once
// Cwork1Dlg 對話方塊
class Cwork1Dlg : public CDialogEx
{
// 建構
public:
Cwork1Dlg(CWnd* pParent = nullptr); // 標準建構函式
// 對話方塊資料
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_WORK1_DIALOG };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支援
// 程式碼實作
protected:
HICON m_hIcon;
// 產生的訊息對應函式
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedCancel();
afx_msg void OnBnClickedStart();
afx_msg void OnBnClickedInitialize();
afx_msg void OnBnClickedStop();
afx_msg void OnNMCustomdrawSlider1(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnNMCustomdrawSlider2(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnEnChangeInitialtheta();
afx_msg void OnTimer(UINT_PTR nIDEvent);
CString m_strTIME;
afx_msg void OnStnClickedImg();
afx_msg void Draw(double,double);
HANDLE m_hBitmap;
CImage m_image;
BOOL m_bLoadImage;
afx_msg void OnHScroll (UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
int m_iPos1;
int m_iPos2;
};