📄 comtestdlg.h
字号:
// ComTestDlg.h : header file
//
#if !defined(AFX_COMTESTDLG_H__813E59C7_AFDC_11D4_AC5A_00A0C98F0BDC__INCLUDED_)
#define AFX_COMTESTDLG_H__813E59C7_AFDC_11D4_AC5A_00A0C98F0BDC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CComTestDlg dialog
class CComTestDlg : public CDialog
{
// Construction
public:
void GetData(UINT nEvent, UINT uPort, BYTE Data);
static int ToHex(char* buf);
ifstream ifReadFile[4];
HANDLE hReciveFile[4];
CComTestDlg(CWnd* pParent = NULL); // standard constructor
~CComTestDlg();
// Dialog Data
//{{AFX_DATA(CComTestDlg)
enum { IDD = IDD_COMTEST_DIALOG };
//}}AFX_DATA
CString m_rec[4];
CString m_send[4];
CString m_writeinfo[4];
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CComTestDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CComTestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnCalculateParty();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
afx_msg void OnConfig(UINT uid);
afx_msg void OnClear(UINT uid);
afx_msg void OnSend(UINT uid);
afx_msg void OnST(UINT uid);
afx_msg void OnWriteInfo(UINT uid);
// afx_msg LONG OnCommunication(WPARAM ch, LPARAM port);
// afx_msg LONG OnCTSDetected(WPARAM, LPARAM port);
// afx_msg void OnKillfocus(UINT uid);
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COMTESTDLG_H__813E59C7_AFDC_11D4_AC5A_00A0C98F0BDC__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -