eventlog.h

来自「IO函数调用测试」· C头文件 代码 · 共 68 行

H
68
字号
// EventLog.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CEventLog dialog

class CEventLog : public CPropertyPage
{
	DECLARE_DYNCREATE(CEventLog)

// Construction
public:
	CEventLog();
	~CEventLog();

// Dialog Data
	void add(TraceEvent * event);

	//{{AFX_DATA(CEventLog)
	enum { IDD = IDD_EVENTLOG };
	CButton	c_Up;
	CButton	c_SaveAs;
	CButton	c_Save;
	CButton	c_Open;
	CButton	c_Execute;
	CEventList	c_Events;
	CButton	c_Down;
	CButton	c_Delete;
	CButton	c_Clear;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CEventLog)
	public:
	virtual BOOL OnSetActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void updateControls();
	CList<TraceEvent *, TraceEvent *> queue;
	void doSave(BOOL mode);
	CString SaveFileName;

	// Generated message map functions
	//{{AFX_MSG(CEventLog)
	afx_msg void OnClear();
	afx_msg void OnDelete();
	afx_msg void OnDown();
	afx_msg void OnDblclkEvents();
	afx_msg void OnExecute();
	afx_msg void OnOpen();
	afx_msg void OnSave();
	afx_msg void OnUp();
	afx_msg void OnSaveAs();
	virtual BOOL OnInitDialog();
	afx_msg void OnAnnotation();
	afx_msg void OnSelchangeEvents();
	afx_msg void OnHelp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

⌨️ 快捷键说明

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