SDC C-Project CF Review 프로그램
LYW
2021-09-14 ffe71aadfdcb4a9ea2ac4d8d320983d42ef3cad5
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
#pragma once
 
#include "CHCommonControls/GridCtrl.h"
#include "CHCommonControls/GridCell.h"
#include "CHCommonControls/GridCellCombo.h"
#include "CHCommonControls/GridCellCheck.h"
#include "CHReviewRecipe/RcpFilteringInfo.h"
#include "afxwin.h"
#include "CHCommonControls/FontStatic.h"
#include "CHReviewRecipe/RcpCoordinateInfo.h"
 
// CDlgCoordinate ´ëÈ­ »óÀÚÀÔ´Ï´Ù.
 
class CDlgCoordinate : public CDialog
{
    DECLARE_DYNAMIC(CDlgCoordinate)
 
public:
    CDlgCoordinate(CWnd* pParent = NULL);   // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù.
    virtual ~CDlgCoordinate();
 
// ´ëÈ­ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù.
    enum { IDD = IDD_DIALOG_REVIEW_RCP_EDITOR_COORDINATE };
 
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV Áö¿øÀÔ´Ï´Ù.
 
    DECLARE_MESSAGE_MAP()
 
public:
    void UpdateDialogData();
    void InitCoordinateGridControl();
 
    virtual BOOL OnInitDialog();
 
    afx_msg void OnBnClickedButtonRcpCoordinateReset();
    afx_msg void OnBnClickedButtonRcpCoordinateApply();
    afx_msg void OnEnChangeEditMeasureCount();
 
public:
    CGridCtrl    m_ctrlGridCoordinateInfo;
    CComboBox    m_ctrlCornerDir;
    CComboBox    m_ctrlGlassDir;
    CFontStatic m_sMeasureDir;
 
    int            m_nMeasureCount;
    int            m_nGlassWidth;
    int            m_nGlassHeight;
    double        m_dBeforePosX;
    double        m_dBeforePosY;
    double      m_dAfterPosX;
    double        m_dAfterPosY;
 
private:
    int            m_nGlassDir;
    int            m_nCornerDir;
};