dlgalarmerview.h

来自「串口收发工具」· C头文件 代码 · 共 69 行

H
69
字号
#if !defined(AFX_DLGALARMERVIEW_H__E7A159C9_D036_4995_B1B9_FB8C325CFD81__INCLUDED_)
#define AFX_DLGALARMERVIEW_H__E7A159C9_D036_4995_B1B9_FB8C325CFD81__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDlgAlarmerView frame

class CDlgAlarmerView : public CFrameWnd
{
	DECLARE_DYNCREATE(CDlgAlarmerView)
protected:
	

// Attributes
public:
   CDlgAlarmerView();           
// Operations
public:
	void TransBuf(BYTE *buf,int len);
private:
	void ShowGroup(HDC hDC);
	void SecondGroupDC(HDC hDC);
	void ThirdGroupDC(HDC hDC);
	void FourthGroupDC(HDC hDC);
	void FifthGroupDC(HDC hDC);
	void SixthGroupDC(HDC hDC);
	void DrawLine(HDC hDC,int x0,int y0,int x1,int y1,COLORREF crLine);
	void DrawRect(HDC hDC,LPRECT lpRect,COLORREF crRect);
	BYTE bDataBuf[512];
	GROUPSTATION GroupStation; //组号站号缓冲区
	CRect rect;
	BYTE m_fGroupFirstPage;
	BYTE query_flag;
	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgAlarmerView)
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CDlgAlarmerView();
	HINSTANCE m_hInstance; //应用程序的实例句柄
	// Generated message map functions
	//{{AFX_MSG(CDlgAlarmerView)
	afx_msg void OnDestroy();
	afx_msg void OnPaint();
	afx_msg void OnAlarmerVQU();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnAlarmerVP1();
	afx_msg void OnAlarmerVP2();
	afx_msg void OnAlarmerVP3();
	afx_msg void OnAlarmerVP4();
	afx_msg void OnAlarmerVP5();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGALARMERVIEW_H__E7A159C9_D036_4995_B1B9_FB8C325CFD81__INCLUDED_)

⌨️ 快捷键说明

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