pointwindlg.h

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

H
60
字号
#if !defined(AFX_POINTWINDLG_H__78CCB3CA_EDF0_4F31_9C74_BED0595B42A6__INCLUDED_)
#define AFX_POINTWINDLG_H__78CCB3CA_EDF0_4F31_9C74_BED0595B42A6__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPointWinDlg dialog

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

// Dialog Data
public:
	// 当前鼠标拖动状态,0表示未拖动,1表示正在拖动下限,2表示正在拖动上限。
	int		m_iIsDraging;
	CRect	m_MouseRect;			// 相应鼠标事件的矩形区域

	//{{AFX_DATA(CPointWinDlg)
	enum { IDD = IDD_DLG_POINTWIN };	
	BYTE	m_bLow;					// 窗口的下限
	BYTE	m_bUp;					// 窗口的上限
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPointWinDlg)
	afx_msg void OnKillfocusEDITLow();
	afx_msg void OnKillfocusEDITUp();
	virtual void OnOK();
	afx_msg void OnPaint();
	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
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_POINTWINDLG_H__78CCB3CA_EDF0_4F31_9C74_BED0595B42A6__INCLUDED_)

⌨️ 快捷键说明

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