pointthredlg.h

来自「人民邮电出版社的——Visual C++数字图像处理典型算法及实现(源码) 希」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_POINTTHREDLG_H__F7DFE88A_1861_4A54_8CF0_4F25AF266D6F__INCLUDED_)
#define AFX_POINTTHREDLG_H__F7DFE88A_1861_4A54_8CF0_4F25AF266D6F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PointThreDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPointThreDlg dialog

class CPointThreDlg : public CDialog
{
// Construction
public:
	CPointThreDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
public:	
	BOOL	m_bIsDraging;	// 当前鼠标拖动状态,TRUE表示正在拖动	
	CRect	m_MouseRect;	// 相应鼠标事件的矩形区域

	//{{AFX_DATA(CPointThreDlg)
	enum { IDD = IDD_DLG_POINTTHRE };
		
	// 阈值
	BYTE	m_bThre;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPointThreDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPointThreDlg)
	afx_msg void OnKillfocusEDITThre();
	virtual BOOL OnInitDialog();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_POINTTHREDLG_H__F7DFE88A_1861_4A54_8CF0_4F25AF266D6F__INCLUDED_)

⌨️ 快捷键说明

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