basecombobox.h

来自「用Visual c++实现汽配件管理系统」· C头文件 代码 · 共 57 行

H
57
字号
#if !defined(AFX_BASECOMBOBOX_H__9E306658_436E_43BE_B492_6C7FB4A428A8__INCLUDED_)
#define AFX_BASECOMBOBOX_H__9E306658_436E_43BE_B492_6C7FB4A428A8__INCLUDED_
#include "RxRecordset.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BaseComboBox.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CBaseComboBox window

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

// Attributes
public:

// Operations
public:

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

// Implementation
public:
	CString m_CurrentFieldType;
	void SetFieldset(RxRecordset rs);
	void SetRecordset(RxRecordset rs, CString Field);
	virtual ~CBaseComboBox();

	// Generated message map functions
protected:
	//{{AFX_MSG(CBaseComboBox)
	afx_msg void OnSelchange();
	afx_msg void OnEditchange();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	RxRecordset rst;
};

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

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

#endif // !defined(AFX_BASECOMBOBOX_H__9E306658_436E_43BE_B492_6C7FB4A428A8__INCLUDED_)

⌨️ 快捷键说明

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