evccommdlg.h
来自「S3C2440下的WINCE蓝牙开发源码」· C头文件 代码 · 共 62 行
H
62 行
// eVCCommDlg.h : header file
//
#if !defined(AFX_EVCCOMMDLG_H__A8A38EAD_DEF3_4F0B_9EDA_5D52826B31D6__INCLUDED_)
#define AFX_EVCCOMMDLG_H__A8A38EAD_DEF3_4F0B_9EDA_5D52826B31D6__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CEVCCommDlg dialog
#include "serialPort.h"
class CEVCCommDlg : public CDialog
{
// Construction
public:
CEVCCommDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CEVCCommDlg)
enum { IDD = IDD_EVCCOMM_DIALOG };
CEdit m_RecvCountCtrl;
CEdit m_RecvDataEditCtrl;
CEdit m_SendCountCtrl;
CString m_sSendData;
int m_nSendCount;
UINT m_nRecvCount;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEVCCommDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CEVCCommDlg)
virtual BOOL OnInitDialog();
afx_msg void OnButtonOpenport();
afx_msg void OnButtonSend();
afx_msg void OnButtonClear();
afx_msg void OnDestroy();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CSerialPort m_SerialPort;
static void OnDataFromPort(void * data,DWORD nDataCount,void * context);
UINT m_nPortNum;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EVCCOMMDLG_H__A8A38EAD_DEF3_4F0B_9EDA_5D52826B31D6__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?