hotedit.h

来自「深入剖析Visual C++编程技术及应用实例」· C头文件 代码 · 共 63 行

H
63
字号
#if !defined(AFX_HOTEDIT_H__BE9A5170_B912_11D2_B882_0020182B6AB8__INCLUDED_)
#define AFX_HOTEDIT_H__BE9A5170_B912_11D2_B882_0020182B6AB8__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CHotEdit window

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

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHotEdit)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CHotEdit();

	// Generated message map functions
protected:
	virtual void DrawBorder(bool fHot = true);
	COLORREF m_clr3DHilight;
	COLORREF m_clr3DLight;
	COLORREF m_clr3DDkShadow;
	COLORREF m_clr3DShadow;
	COLORREF m_clr3DFace;
	bool m_fTimerSet;
	bool m_fGotFocus;
	//{{AFX_MSG(CHotEdit)
	afx_msg void OnPaint();
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnNcMouseMove(UINT nHitTest, CPoint point);
	afx_msg void OnSysColorChange();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_HOTEDIT_H__BE9A5170_B912_11D2_B882_0020182B6AB8__INCLUDED_)

⌨️ 快捷键说明

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