_combobox.h

来自「vc 和mapobjects地理信息系统组件开发 很有启发意义和参考价值」· C头文件 代码 · 共 44 行

H
44
字号
#if !defined(AFX__COMBOBOX_H__A8A50D15_7E51_4D3B_8925_E2A426B7E7E0__INCLUDED_)
#define AFX__COMBOBOX_H__A8A50D15_7E51_4D3B_8925_E2A426B7E7E0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// C_ComboBox wrapper class

class C_ComboBox : public COleDispatchDriver
{
public:
	C_ComboBox() {}		// Calls COleDispatchDriver default constructor
	C_ComboBox(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	C_ComboBox(const C_ComboBox& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	void AddItem(LPCTSTR Item);
	void RemoveItem(short ListIndex);
	void Clear();
	long FindItem(LPCTSTR Item, long Length, BOOL MatchCase);
	long GetListCount();
	long GetListIndex();
	CString GetListItem(short ListIndex);
	long GetListWidth();
	void SetListWidth(long nNewValue);
	long GetListRows();
	void SetListRows(long nNewValue);
};

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

#endif // !defined(AFX__COMBOBOX_H__A8A50D15_7E51_4D3B_8925_E2A426B7E7E0__INCLUDED_)

⌨️ 快捷键说明

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