📄 commdlg.h
字号:
// commDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_COMMDLG_H__3AED7CE9_1E49_47E8_8C33_4DC44C5FDE62__INCLUDED_)
#define AFX_COMMDLG_H__3AED7CE9_1E49_47E8_8C33_4DC44C5FDE62__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCommDlg dialog
class CCommDlg : public CDialog
{
// Construction
public:
void Udata();
CString m_StrData;
BOOL bSend;
BOOL bReceive;
CCommDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCommDlg)
enum { IDD = IDD_COMM_DIALOG };
CButton m_CtrlManualSend;
CButton m_CtrlReceive;
CComboBox m_CtrlStopBits;
CComboBox m_CtrlSpeed;
CComboBox m_CtrlParity;
CComboBox m_CtrlDataBits;
CComboBox m_CtrlComm;
CMSComm m_Com;
CString m_strSendString;
CString m_StrTemp;
CString m_StrWide;
CString m_StrComSelect;
CString m_StrDataBits;
CString m_StrParity;
CString m_StrSpeed;
CString m_StrStopBits;
CString m_StrF;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCommDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCommDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonManualsend();
afx_msg void OnButtonClose();
afx_msg void OnSendClear();
afx_msg void OnReceiveClear();
afx_msg void OnOnCommMscomm1();
afx_msg void OnButtonReceive();
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_COMMDLG_H__3AED7CE9_1E49_47E8_8C33_4DC44C5FDE62__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -