baselistbox.h

来自「商品库存管理系统 用VC++6.0编写」· C头文件 代码 · 共 57 行

H
57
字号
#if !defined(AFX_BASELISTBOX_H__85A1ECC1_6235_11D8_8752_5254AB32C8FB__INCLUDED_)
#define AFX_BASELISTBOX_H__85A1ECC1_6235_11D8_8752_5254AB32C8FB__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CBaseListBox window

class CBaseListBox : public CListBox
{
// Construction
public:
	CBaseListBox();

// Attributes
public:

// Operations
public:

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

// Implementation
public:
	void UpDating();
	bool SetRecordset(_RecordsetPtr rRst, CString sField);
	virtual ~CBaseListBox();

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

	DECLARE_MESSAGE_MAP()
private:
	CString m_Field;
	_RecordsetPtr rst;
};

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

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

#endif // !defined(AFX_BASELISTBOX_H__85A1ECC1_6235_11D8_8752_5254AB32C8FB__INCLUDED_)

⌨️ 快捷键说明

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