eventlist.h
来自「IO函数调用测试」· C头文件 代码 · 共 51 行
H
51 行
// EventList.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CEventList window
class CEventList : public CListBox
{
// Construction
public:
CEventList();
// Attributes
public:
int AddString(TraceEvent * event) { modified = TRUE; return CListBox::AddString((LPCTSTR) event); }
int InsertString(int index, TraceEvent * event)
{ modified = TRUE; return CListBox::InsertString(index, (LPCTSTR)event); }
int DeleteString(int n) { modified = TRUE; return CListBox::DeleteString(n); }
void ResetContent() { modified = TRUE; CListBox::ResetContent(); }
void SetModified(BOOL mode = TRUE) { modified = mode; }
BOOL GetModified() { return modified; }
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEventList)
public:
virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
virtual void DeleteItem(LPDELETEITEMSTRUCT lpDeleteItemStruct);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CEventList();
CFont * fixed;
int height;
// Generated message map functions
protected:
BOOL modified;
//{{AFX_MSG(CEventList)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?