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

📄 adocombobox.h

📁 枚举主机网络设备
💻 H
字号:
// ADOComboBox.h: interface for the CADOComboBox class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ADOCOMBOBOX_H__FD4E9F49_48E9_4194_BB75_C32100DD6B40__INCLUDED_)
#define AFX_ADOCOMBOBOX_H__FD4E9F49_48E9_4194_BB75_C32100DD6B40__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "HADOPublicFunction.h"

class AFX_EXT_CLASS CADOComboBox : public CComboBox,public CHADOPublicFunction 
{
public:
	CADOComboBox();
	virtual ~CADOComboBox();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CADOComboBox)
	protected:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL
	CString m_strRegKey;
	BOOL m_bSndMsg;

public:
	BOOL SetSndMsgFlag(BOOL bSnd=TRUE);
	CString SetRegKey(CString strRegKey);
	void AddItem(CString strItem="");
	int InitItems();
	void EmptyHistory();
	long FillWithRecordset(_RecordsetPtr &SetPtr,long lIndex=0);


protected:
	//{{AFX_MSG(CADOComboBox)
	afx_msg void OnSelchange();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

#endif // !defined(AFX_ADOCOMBOBOX_H__FD4E9F49_48E9_4194_BB75_C32100DD6B40__INCLUDED_)

⌨️ 快捷键说明

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