hotcombobox.h

来自「Visual C++图形用户界面开发指南 李博轩等编著 配套源码光盘」· C头文件 代码 · 共 65 行

H
65
字号
#if !defined(AFX_HOTCOMBOBOX_H__68782B02_B925_11D2_B882_0020182B6AB8__INCLUDED_)
#define AFX_HOTCOMBOBOX_H__68782B02_B925_11D2_B882_0020182B6AB8__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CHotComboBox window

class CHotComboBox : public CComboBox
{
// Construction
public:
	CHotComboBox();

// Attributes
public:

// Operations
public:

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

// Implementation
public:
	virtual ~CHotComboBox();

	// 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_fGotFocus;
	bool m_fTimerSet;
	//{{AFX_MSG(CHotComboBox)
	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 void OnSetfocus();
	afx_msg void OnKillfocus();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_HOTCOMBOBOX_H__68782B02_B925_11D2_B882_0020182B6AB8__INCLUDED_)

⌨️ 快捷键说明

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