DlgEhnLinTrans.h
资源名称:图像识别.rar [点击查看]
上传用户:xjt2008yy
上传日期:2010-01-18
资源大小:272k
文件大小:2k
源码类别:
生物技术
开发平台:
Visual C++
- #if !defined(AFX_DLGEHNLINTRANS_H__C3556721_3387_11D0_9E74_000021CDD41E__INCLUDED_)
- #define AFX_DLGEHNLINTRANS_H__C3556721_3387_11D0_9E74_000021CDD41E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // DlgEhnLinTrans.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CDlgEhnLinTrans dialog
- class CDlgEhnLinTrans : public CDialog
- {
- // Construction
- public:
- // 当前鼠标拖动状态,0表示未拖动,1表示正在拖动第一点,2表示正在拖动第二点。
- int m_nIsDraging;
- // 相应鼠标事件的矩形区域
- CRect m_rectMouse;
- // 标识是否已经绘制橡皮筋线
- BOOL m_bDrawed;
- // 保存鼠标左键单击时的位置
- CPoint m_pointMsClick;
- // 保存鼠标拖动时的位置
- CPoint m_pointMsMove;
- CDlgEhnLinTrans(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CDlgEhnLinTrans)
- enum { IDD = IDD_DLG_ENHANCE_LINTRANS };
- int m_nX1;
- int m_nX2;
- int m_nY1;
- int m_nY2;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDlgEhnLinTrans)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CDlgEhnLinTrans)
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnPaint();
- afx_msg void OnKillfocusEditLintransX1();
- afx_msg void OnKillfocusEditLintransX2();
- afx_msg void OnKillfocusEditLintransY1();
- afx_msg void OnKillfocusEditLintransY2();
- virtual BOOL OnInitDialog();
- virtual void OnOK();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DLGEHNLINTRANS_H__C3556721_3387_11D0_9E74_000021CDD41E__INCLUDED_)