📄 cansenddlg.h
字号:
// CANSendDlg.h : header file
//
#if !defined(AFX_CANSENDDLG_H__941D48BA_BB37_4F02_A076_E80E5CF9E973__INCLUDED_)
#define AFX_CANSENDDLG_H__941D48BA_BB37_4F02_A076_E80E5CF9E973__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CCANSendDlg dialog
class CCANSendDlg : public CDialog
{
private:
WORD m_nPort; //1 based
WORD m_nPreBaudRate;
WORD m_nHostID;
UINT m_nBTR0;
UINT m_nBTR1;
UINT m_nAcpCode;
UINT m_nAcpMask;
UINT m_nIntMask;
UINT m_nOutCtrlCode;
BOOL m_bOpen;
// Construction
public:
CCANSendDlg(CWnd* pParent = NULL); // standard constructor
void AddStrToLst(CString& s);
// Dialog Data
//{{AFX_DATA(CCANSendDlg)
enum { IDD = IDD_CANSEND_DIALOG };
CListBox m_lstDisplay;
int m_nPattern;
DWORD m_dwPakTotalCnt;
int m_nDevNum;
CString m_strCount;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCANSendDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCANSendDlg)
virtual BOOL OnInitDialog();
afx_msg void OnClearListBtn();
afx_msg void OnStartBtn();
afx_msg void OnInitBtn();
afx_msg void OnClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CANSENDDLG_H__941D48BA_BB37_4F02_A076_E80E5CF9E973__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -