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

📄 statuslist.h

📁 查看NT状态
💻 H
字号:
// StatusList.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStatusList window

class CStatusList : public CListBox
{
// Construction
public:
	CStatusList();
	int AddString(CString & name, DWORD value);
	void Save(CStdioFile & file);
// Attributes
public:

// Operations
public:
	void SetResult(int i, DWORD result, CString s);
	void SetSort(int type);
	enum {ByValue, ByName, ByResult, ByWinError, Unsorted};
	DWORD GetValue(int i);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStatusList)
	public:
	virtual int CompareItem(LPCOMPAREITEMSTRUCT lpCompareItemStruct);
	virtual void DeleteItem(LPDELETEITEMSTRUCT lpDeleteItemStruct);
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CStatusList();

	// Generated message map functions
protected:
	int col1;
	int col2;
	int col3;
	int col4;
	int col5;
	int height;
	int SortType;
	CString cvstr(DWORD value);
	//{{AFX_MSG(CStatusList)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

⌨️ 快捷键说明

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