cedlg.h

来自「又VC++实现的基于TWAIN的扫描仪图像输入处理软件」· C头文件 代码 · 共 55 行

H
55
字号
// CEDlg.h : header file
#ifndef __CCEDLG
#define __CCEDLG

//声明表中对象的类型
struct COORDINATE
{
   int   x;              
   int   y;
};

/////////////////////////////////////////////////////////////////////////////
// CCEDlg dialog
class CCEDlg : public CDialog
{
public:
	CCEDlg(CWnd* pParent = NULL);
    BOOL Create(void);
    BOOL MouseInSlidePos(CPoint point);
	void SetLineSlidePos(CPoint point);
	void Updatem_IndexfromGamma( double fGamma );
	void Updatem_IndexfromLines( void );
    CList<COORDINATE,COORDINATE&>	m_PointList;
    int method;
	//{{AFX_DATA(CCEDlg)
	  enum { IDD = IDD_AIE_CURVE };
	  CString	m_sMethod;
	  CString	m_sChannel;
   	//}}AFX_DATA
	//{{AFX_VIRTUAL(CCEDlg)
	protected:
	  virtual void DoDataExchange(CDataExchange* pDX);  
	//}}AFX_VIRTUAL
protected:
	CToolTipCtrl m_tooltip;	CWnd*	m_pParent;
	BOOL	m_bDragLines;
		
	BOOL	m_bDragGamma;
						 
	int		m_Index[256];
	int		m_nID;

	//{{AFX_MSG(CCEDlg)
	  afx_msg void OnPaint();
	  afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	  afx_msg void OnSelchangeMethod();
	  afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	  afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	  virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?