📄 eventsdlg.h
字号:
// EventsDlg.h : header file
//
#if !defined(AFX_EVENTSDLG_H__3E365320_78DF_11D4_AE5F_006008AADC5D__INCLUDED_)
#define AFX_EVENTSDLG_H__3E365320_78DF_11D4_AE5F_006008AADC5D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CEventsDlg dialog
#include <afxmt.h>
struct QUEUEITEM
{
char szText[80];
QUEUEITEM *pPrev;
QUEUEITEM *pNext;
};
class CEventsDlg : public CDialog
{
// Construction
public:
static UINT StartProcessor (void *pParam);
static UINT StartReceiver (void *pParam);
int DeleteItemFromQueue (QUEUEITEM *pItem);
void AddItemToQueue (QUEUEITEM *pItem);
CEventsDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CEventsDlg)
enum { IDD = IDD_EVENTS_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
CStatic m_strProcessor;
CStatic m_strReceiver;
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEventsDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
int m_nQueueCount;
HICON m_hIcon;
CRect m_rcProcessor;
CRect m_rcReceiver;
void DrawKey (CRect &rc, bool bDraw = false);
CEvent m_CheckQueue;
CCriticalSection m_cs;
CBitmap m_bmpKey;
CImageList m_Images;
// Generated message map functions
//{{AFX_MSG(CEventsDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EVENTSDLG_H__3E365320_78DF_11D4_AE5F_006008AADC5D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -