📄 cdmasmssdlg.h
字号:
// CDMASMSSDlg.h : header file
//
#if !defined(AFX_CDMASMSSDLG_H__EF58573D_E269_4FAB_A662_1816A00B05E3__INCLUDED_)
#define AFX_CDMASMSSDLG_H__EF58573D_E269_4FAB_A662_1816A00B05E3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCDMASMSSDlg dialog
#include "TabSheet.h"
#include "Send.h"
#include "Test.h"
#include "SerialPort.h"
class CCDMASMSSDlg : public CDialog
{
// Construction
public:
bool big;
bool m_create;
bool m_ten;//十进制
CString m_receive0x;
CFont font;
CStatusBar m_bar;
CToolBar m_wndtoolbar;
CString m_instruct;//,m_sendnumber;
bool m_sendprepare1,m_sendprepare2;
bool m_sending;
void SendShortMessage(CString number,CString content);
int count;
CString tempch;
CString m_receiveASC;
char rchar_temp,chFlag;
CString m_receive;
void SendAT(CString AT);
bool m_bOpen;
CCDMASMSSDlg(CWnd* pParent = NULL); // standard constructor
CSerialPort m_ComPort; //串口类对象
// Dialog Data
//{{AFX_DATA(CCDMASMSSDlg)
enum { IDD = IDD_CDMASMSS_DIALOG };
CButton m_button3;
CButton m_button2;
CEdit m_control6;
CEdit m_control4;
CEdit m_control5;
CEdit m_control3;
CButton m_button1;
CEdit m_controlASC;
CEdit m_controlAT;
CTabSheet m_sheet;
CSend m_sendpage;
CTest m_testpage;
CString m_receiveAT;
CString m_ASC;
CString m_char1;
CString m_asc1;
CString m_char2;
CString m_asc2;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCDMASMSSDlg)
public:
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCDMASMSSDlg)
virtual BOOL OnInitDialog();
afx_msg LONG OnCommunication(WPARAM ch,LPARAM port);
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOpenPort();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnClosePort();
afx_msg void OnRadio1();
afx_msg void OnRadio2();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CDMASMSSDLG_H__EF58573D_E269_4FAB_A662_1816A00B05E3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -