📄 newcomdlg.h
字号:
// NewComDlg.h : header file
//
#include "MSComm.h"
#include "ViewNum.h" // Added by ClassView
#if !defined(AFX_NEWCOMDLG_H__CBABF2F9_B087_451C_A4BC_FC561740D4DC__INCLUDED_)
#define AFX_NEWCOMDLG_H__CBABF2F9_B087_451C_A4BC_FC561740D4DC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CNewComDlg dialog
class CNewComDlg : public CDialog
{
// Construction
public:
CNewComDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CNewComDlg)
enum { IDD = IDD_NEWCOM_DIALOG };
CString m_RXD;
BOOL m_CheckChar;
CString m_status;
CString m_TXD;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNewComDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CNewComDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnInputSetting();
afx_msg void OnSave();
afx_msg void OnOpenClose();
afx_msg void OnExit();
afx_msg void OnInclear();
afx_msg void OnOnComm();
afx_msg void OnOutputSetting();
afx_msg void OnAbout();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnClearoutput();
afx_msg void OnSendmul();
afx_msg void OnNum();
afx_msg void OnUpdateNum(CCmdUI* pCmdUI);
afx_msg void OnCurve();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CViewNum pdlg;
CString m_ViewNum[8];
CString m_res;
int StrToDec(char ch);
CString m_OutFileName;
CString m_SendFile;
BOOL m_OutputChar;
int m_Time;
UINT m_TimeNum;
CBrush m_Brush;
CString Parity(CString str);
CString m_FileName;
CString str;
CTime time;
CMSComm m_Comm;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NEWCOMDLG_H__CBABF2F9_B087_451C_A4BC_FC561740D4DC__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -