📄 serial_communicationdlg.h
字号:
// Serial_CommunicationDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm1.h"
//}}AFX_INCLUDES
#if !defined(AFX_SERIAL_COMMUNICATIONDLG_H__0EFEC7A7_5668_4B8A_A1BC_3465447CF4C6__INCLUDED_)
#define AFX_SERIAL_COMMUNICATIONDLG_H__0EFEC7A7_5668_4B8A_A1BC_3465447CF4C6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSerial_CommunicationDlg dialog
class CSerial_CommunicationDlg : public CDialog
{
// Construction
public:
CSerial_CommunicationDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSerial_CommunicationDlg)
enum { IDD = IDD_SERIAL_COMMUNICATION_DIALOG };
CButton m_Button_Switch;
CComboBox m_Combo_Check;
CComboBox m_Combo_Stop;
CComboBox m_Combo_Data;
CComboBox m_Combo_Baud;
CComboBox m_Combo_Port;
CEdit m_Edit_Send_Time;
CEdit m_Edit_Receive;
CEdit m_Edit_Send;
BOOL m_Check_Send_Hex;
BOOL m_Check_Send_Auto;
BOOL m_Check_Receive_Hex;
CMSComm m_CMSComm;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSerial_CommunicationDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSerial_CommunicationDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBUTTONEnd();
afx_msg void OnBUTTONSendClear();
afx_msg void OnBUTTONReveiveClear();
afx_msg void OnCHECKSendHex();
afx_msg void OnCHECKSendAuto();
afx_msg void OnCHECKReceiveHex();
afx_msg void OnBUTTONSwitch();
afx_msg void OnBUTTONSaveData();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SERIAL_COMMUNICATIONDLG_H__0EFEC7A7_5668_4B8A_A1BC_3465447CF4C6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -