📄 comdlg.h
字号:
// comDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_COMDLG_H__30BDD37E_DD2D_4F6E_9E0F_675F6809D957__INCLUDED_)
#define AFX_COMDLG_H__30BDD37E_DD2D_4F6E_9E0F_675F6809D957__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CComDlg dialog
class CComDlg : public CDialog
{
// Construction
public:
unsigned char text_RXD[1024];
CComDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CComDlg)
enum { IDD = IDD_COM_DIALOG };
CEdit m_filename;
CEdit m_nEdit;
int m_addrh;
int m_addrl;
int m_baud;
int m_port;
int m_D1h;
int m_D1l;
int m_D2h;
int m_D2l;
CMSComm m_com;
CString m_strReceive;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CComDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CComDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOpen();
afx_msg void OnClose();
afx_msg void OnSend();
afx_msg void OnSave();
afx_msg void OnOnCommMscomm();
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_COMDLG_H__30BDD37E_DD2D_4F6E_9E0F_675F6809D957__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -