mrDarker
2025-07-16 1dbe46cd9d0f181d08d5a69f72d8548628a13b9d
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
#pragma once
 
 
// COpRoiDlg ¶Ô»°¿ò
 
class COpRoiDlg : public CDialogEx
{
    DECLARE_DYNAMIC(COpRoiDlg)
 
public:
    COpRoiDlg(CWnd* pParent = NULL);   // ±ê×¼¹¹Ô캯Êý
    virtual ~COpRoiDlg();
 
// ¶Ô»°¿òÊý¾Ý
#ifdef AFX_DESIGN_TIME
    enum { IDD = IDD_DIALOG_ROI_SET };
#endif
 
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV Ö§³Ö
 
    DECLARE_MESSAGE_MAP()
 
private:
    int m_stepX;
    int m_stepY;
 
    BOOL m_isLock;
 
private:
    //ÇøÓò
    void MoveRegion(int nType);
 
    //
    void InitBitICON(void);
 
public:
    afx_msg void OnClose();
    virtual BOOL PreTranslateMessage(MSG* pMsg);
    virtual BOOL OnInitDialog();
    afx_msg void OnBnClickedButtonMoveRightRoi();
    afx_msg void OnBnClickedButtonMoveUpRoi();
    afx_msg void OnBnClickedButtonMoveLeftRoi();
    afx_msg void OnBnClickedButtonMoveDownRoi();
};