baseedit.h

来自「一个有关人事系统的所有代码和有关文件包括里面小量数据库。」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_BASEEDIT_H__0AD7653A_E40E_41B5_9D8E_952827FFB348__INCLUDED_)
#define AFX_BASEEDIT_H__0AD7653A_E40E_41B5_9D8E_952827FFB348__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CBaseEdit window

class CBaseEdit : public CEdit
{
// Construction
public:
	CBaseEdit();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBaseEdit)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetColour(COLORREF Colour);
	void NumberOnly(bool bOnly);
	virtual ~CBaseEdit();

	// Generated message map functions
protected:
	//{{AFX_MSG(CBaseEdit)
	afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	COLORREF m_Colour;
	bool m_bOnly;
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_BASEEDIT_H__0AD7653A_E40E_41B5_9D8E_952827FFB348__INCLUDED_)

⌨️ 快捷键说明

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