⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 colorcombobox.h

📁 一个用RSA算法实现加密通信的聊天程序。
💻 H
字号:
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ColorComboBox.h : header file
//

#include <afxtempl.h>

/////////////////////////////////////////////////////////////////////////////
// CColorComboBox window
/*必须在combo box properties中的style属性中正确的设置
Type(Drop List) Owner draw(Fixed) sort取消*/
class CColorComboBox : public CComboBox
{
// Construction
public:
	CColorComboBox();

// Attributes
private:
	CStringArray m_szaryItem;
	COLORREF m_clrText,m_clrBackGround;
	CArray <COLORREF,COLORREF> m_aryColorText;
	CArray <COLORREF,COLORREF> m_aryColorBackGround;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CColorComboBox)
	public:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetBckGndColor(COLORREF clrBckGnd);
	void SetTextColor(COLORREF clrText);
	int AddString(LPCTSTR lpszString);
	virtual ~CColorComboBox();

	// Generated message map functions
protected:
	//{{AFX_MSG(CColorComboBox)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

⌨️ 快捷键说明

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