📄 comtestdlgdlg.h
字号:
// comtestdlgDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_COMTESTDLGDLG_H__778E9A49_4C94_4484_BF9E_965D04FBDF5F__INCLUDED_)
#define AFX_COMTESTDLGDLG_H__778E9A49_4C94_4484_BF9E_965D04FBDF5F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CComtestdlgDlg dialog
class CComtestdlgDlg : public CDialog
{
// Construction
public:
// CString m_strfilename;
void DataInit();
CComtestdlgDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CComtestdlgDlg)
enum { IDD = IDD_COMTESTDLG_DIALOG };
CEdit m_edReceiveDataCtrl;
CComboBox m_cbPort;
CMSComm m_comm;
CString m_szInput;
CString m_szSendData;
CString m_szReceiveData;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CComtestdlgDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
CString m_strfilename;
// Generated message map functions
//{{AFX_MSG(CComtestdlgDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOnCommMscomm1();
afx_msg void OnBtport();
afx_msg void OnBtclose();
afx_msg void OnBtsend();
afx_msg void OnBtreceive();
afx_msg void OnSendfile();
afx_msg void OnOpenfile();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COMTESTDLGDLG_H__778E9A49_4C94_4484_BF9E_965D04FBDF5F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -