editint.h

来自「3D reconstruction, medical image process」· C头文件 代码 · 共 76 行

H
76
字号
#if !defined(AFX_EDITINT_H__B046F304_E364_4FEB_AEC1_8838CDCFE6C9__INCLUDED_)#define AFX_EDITINT_H__B046F304_E364_4FEB_AEC1_8838CDCFE6C9__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000// EditInt.h : header file///////////////////////////////////////////////////////////////////////////////// RxEditInt window#define EMASK_MIN		0x0001#define EMASK_MAX		0x0002#define EMASK_ALL		0x000F#define EN_CHANGED_INT	0x0001typedef struct{	NMHDR	hdr;	int		nEdit;} NMED_INT;class RxEditInt : public CEdit{// Constructionpublic:	RxEditInt();// Attributespublic:	int		m_nRangeMin;	int		m_nRangeMax;// Operationspublic:	void	SendMessageToOwner();	void	ValidateEdit();	void	IncreaseEdit(int nValue = 1);	void	DecreaseEdit(int nValue = 1);	void	SetRange(int    nRangeMin, int    nRangeMax, UINT nMask = EMASK_ALL);	void	GetRange(int&   nRangeMin, int&   nRangeMax);	void	SetEdit(int  nValue);	int		GetEdit();// Overrides	// ClassWizard generated virtual function overrides	//{{AFX_VIRTUAL(RxEditInt)	public:	virtual BOOL PreTranslateMessage(MSG* pMsg);	//}}AFX_VIRTUAL// Implementationpublic:	virtual ~RxEditInt();	// Generated message map functionsprotected:	//{{AFX_MSG(RxEditInt)	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);	afx_msg void OnKillFocus(CWnd* pNewWnd);	//}}AFX_MSG	DECLARE_MESSAGE_MAP()};///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_EDITINT_H__B046F304_E364_4FEB_AEC1_8838CDCFE6C9__INCLUDED_)

⌨️ 快捷键说明

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