bsq_dispdlg.h

来自「通过串行口接收并显示电力质量检测变送器信息」· C头文件 代码 · 共 70 行

H
70
字号
// bsq_dispDlg.h : header file
//

#if !defined(AFX_BSQ_DISPDLG_H__F8C5638A_C24A_4C5F_BB32_3745AAD3EDB6__INCLUDED_)
#define AFX_BSQ_DISPDLG_H__F8C5638A_C24A_4C5F_BB32_3745AAD3EDB6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CBsq_dispDlg dialog
#include "SerialPort.h"

class CBsq_dispDlg : public CDialog
{
// Construction
public:
	CBsq_dispDlg(CWnd* pParent = NULL);	// standard constructor
	CSerialPort m_port;
	RECT icon_rect;
// Dialog Data
	//{{AFX_DATA(CBsq_dispDlg)
	enum { IDD = IDD_BSQ_DISP_DIALOG };
	CString	m_adl;
	CString	m_ady;
	CString	m_agl;
	CString	m_axj;
	CString	m_ays;
	CString	m_bdl;
	CString	m_bdy;
	CString	m_bgl;
	CString	m_bxj;
	CString	m_bys;
	CString	m_cdl;
	CString	m_cdy;
	CString	m_cgl;
	CString	m_cxj;
	CString	m_cys;
	CString	m_apl;
	CString	m_bpl;
	CString	m_cpl;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBsq_dispDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CBsq_dispDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_BSQ_DISPDLG_H__F8C5638A_C24A_4C5F_BB32_3745AAD3EDB6__INCLUDED_)

⌨️ 快捷键说明

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