📄 txrxdlg.h
字号:
// TxRxDlg.h : header file
//
#if !defined(AFX_TXRXDLG_H__0E57AF3F_54E6_4DBC_870B_D29387436E5F__INCLUDED_)
#define AFX_TXRXDLG_H__0E57AF3F_54E6_4DBC_870B_D29387436E5F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CTxRxDlg dialog
class CTxRxDlg : public CDialog
{
// Construction
public:
CTxRxDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTxRxDlg)
enum { IDD = IDD_TXRX_DIALOG };
CEdit m_EditTimeout;
CEdit m_EditFile;
CProgressCtrl m_ProgressTx;
CProgressCtrl m_ProgressRx;
CStatic m_LEDSend;
CStatic m_StaticBaud;
CStatic m_StaticMemory;
CStatic m_LEDReceive;
CSliderCtrl m_SliderMemory;
CSliderCtrl m_SliderBaud;
CButton m_RadioData82;
CButton m_RadioData81;
CComboBox m_ComboCom;
CButton m_ButtonFile;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTxRxDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CTxRxDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnRadioData81();
afx_msg void OnRadioData82();
afx_msg void OnReleasedcaptureSliderBaud(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnReleasedcaptureSliderMemory(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonFile();
afx_msg void OnButtonReceive();
afx_msg void OnButtonExit();
afx_msg void OnButtonSend();
afx_msg void OnClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CString m_Baud;
DWORD m_BytesOfMemory;
CString m_FileName;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TXRXDLG_H__0E57AF3F_54E6_4DBC_870B_D29387436E5F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -