listboxex.h

来自「用于检测自行开发的tcp/ip协议栈的小程序」· C头文件 代码 · 共 57 行

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

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

/////////////////////////////////////////////////////////////////////////////
// CListBoxEx window

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

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CListBoxEx)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual int Dir( UINT attr, LPCTSTR lpszWildCard );
	virtual void ResetContent();
	virtual int InsertString( int nIndex, LPCTSTR lpszItem );
	virtual int DeleteString( UINT nIndex );
	virtual int AddString( LPCTSTR sString );
	virtual ~CListBoxEx();

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

	DECLARE_MESSAGE_MAP()
private:
	long GetExtentForEntireControl();
	long GetExtentForString( LPCTSTR lpszItem );
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LISTBOXEX_H__7AF61082_16AF_11D2_9ADF_987D0BC10000__INCLUDED_)

⌨️ 快捷键说明

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