#pragma once
|
#include "afxwin.h"
|
|
|
// CChipInspectDlg ¶Ô»°¿ò
|
|
class CChipInspectDlg : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CChipInspectDlg)
|
|
public:
|
CChipInspectDlg(CWnd* pParent = NULL); // ±ê×¼¹¹Ô캯Êý
|
virtual ~CChipInspectDlg();
|
|
// ¶Ô»°¿òÊý¾Ý
|
#ifdef AFX_DESIGN_TIME
|
enum { IDD = IDD_DIALOG_CHIP_INSPECT };
|
#endif
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Ö§³Ö
|
|
DECLARE_MESSAGE_MAP()
|
public:
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
virtual BOOL OnInitDialog();
|
afx_msg void OnClose();
|
afx_msg void OnBnClickedButtonGetImageInchip();
|
|
private:
|
IClsDisplay *m_display;
|
CComboBox m_combSide;
|
int m_imageIndex;
|
Point2I m_ptMouseUp;
|
|
int m_nMinX;
|
int m_nMaxX;
|
int m_nEdgeChipThres;
|
|
private:
|
//1. ³õʼ»¯
|
void InitDisplay(void);
|
|
//2. ½çÃæ³õʼ»¯
|
void InitUiParam(void);
|
|
//3. Ö´ÐÐ
|
void MouseEventProc(int msgEvent, int x, int y);
|
|
public:
|
afx_msg void OnBnClickedButtonProcessInchip();
|
};
|