?? comm2410dlg.h
字號:
// Comm2410Dlg.h : header file
//
#if !defined(AFX_COMM2410DLG_H__EB03AFDF_D713_4388_AF5A_D6AF9B69B49B__INCLUDED_)
#define AFX_COMM2410DLG_H__EB03AFDF_D713_4388_AF5A_D6AF9B69B49B__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CComm2410Dlg dialog
class CComm2410Dlg : public CDialog
{
// Construction
public:
CComm2410Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CComm2410Dlg)
enum { IDD = IDD_COMM2410_DIALOG };
CEdit m_iSendCount;
CEdit m_iTemp;
CEdit m_iReceiveData;
CString m_iCom1;
CString m_iCom2;
int m_iBaud;
int m_iData;
int m_iParity;
int m_iPort;
int m_iStop;
CString m_senddata;
HANDLE hPort;
int m_count;
int m_iCharhex;
CString m_iEndhex;
CString m_iStarthex;
BOOL m_iForEver;
int m_iInterval;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CComm2410Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
private:
CString strportname;
CByteArray Tempchar;
int usedtime;
BOOL bOpen;
void SendData();
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CComm2410Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnButtonStatus();
afx_msg void OnButtonSend();
afx_msg void OnButtonClear();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnRadioFashion();
afx_msg void OnRadio3();
afx_msg void OnKillfocusEditSendnumber();
afx_msg void OnKillfocusEditStarthex();
afx_msg void OnKillfocusEditEndhex();
afx_msg void OnRadioForever();
afx_msg void OnCheckForever();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COMM2410DLG_H__EB03AFDF_D713_4388_AF5A_D6AF9B69B49B__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -