SDC C-Project CF Review 프로그램
LYW
2021-08-17 572aebd50409d2f11183d6ebbb9d12fe9041e7a5
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
58
59
60
61
62
63
64
65
66
67
68
69
70
#pragma once
 
 
// CFormtListDlg 대화 상자
#include "akGridCtrl/akGridCtrl.h"
#include "akDefectFormation.h"
#include "akWndArrange.h"
#include "Singleton.h"
 
#define UM_FORMLIST_FORMSELECT WM_USER+0x3101
 
 
class CAlignDlg : public CDialog, public CSingleton< CAlignDlg >
{
    DECLARE_DYNAMIC(CAlignDlg)
 
public:
    CAlignDlg(CWnd* pParent = nullptr);   // 표준 생성자입니다.
    virtual ~CAlignDlg();
 
// 대화 상자 데이터입니다.
//#ifdef AFX_DESIGN_TIME
    enum { IDD = IDD_DLG_ALIGN };
//#endif
 
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 지원입니다.
 
    DECLARE_MESSAGE_MAP()
 
public:
    virtual BOOL Create(CWnd* pParentWnd = NULL);
    virtual BOOL PreTranslateMessage(MSG* pMsg);
 
    afx_msg void OnDestroy();
    afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
 
    void setFormShow(int nDefectID, BOOL bEnsureVisible);
    void getDispInfoDefect(int nCol, int nRow, CString* pStrData);
    void updateDefectInfo();
    void SortListDefect(int nCol);
    void DrawnoImage();
public:
    CakGridCtrl m_gridFormInfo;
    std::vector<CString> m_vecStrGridDefectHeader; 
    //std::vector<int> m_vecGridColDataType;//0:string, 1:int, 2:double, 11:string to int, 12:string to double
    akDefectFormation* m_pDefectFormation;
    CakWndArrange        m_WndArrange;
    std::vector<_akFormation*>    m_vecSortForm;
    BOOL m_bAsending;
    _DefectDisplayOption* m_pDefectDisplayOption;
    int m_nLastSortCol;
    int m_nSelectedCol;
    int m_nSelectedRow;
 
    CImage m_AlignImage;
    CImage m_AlignImage2;
 
    CRect m_picture_rect;
    CRect m_picture_rect2;
 
    int m_nSelectedFormIdRclick;
public:
    afx_msg void OnBnClickedOk();
    virtual BOOL OnInitDialog();
    virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
    afx_msg void OnSize(UINT nType, int cx, int cy);
    afx_msg void OnPopupMenuFormList(UINT nID);
    
};