?? myserialdlg.h
字號:
// MyserialDlg.h : header file
//
#if !defined(AFX_MYSERIALDLG_H__027E14BC_88D6_45C5_90C9_081F0C4C5B79__INCLUDED_)
#define AFX_MYSERIALDLG_H__027E14BC_88D6_45C5_90C9_081F0C4C5B79__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CMyserialDlg dialog
class CMyserialDlg : public CDialog
{
// Construction
public:
BOOL ClosePort();
HANDLE m_hSerial;
HANDLE m_ExitThreadEvent;
CString m_strRecDisp;
CMyserialDlg(CWnd* pParent = NULL); // standard constructor
static DWORD CommRecvTread(LPVOID lparam);
typedef void (CALLBACK *ONCOMMRECV)(CWnd* pWnd, char *buf, int buflen);
static void CALLBACK OnCommRecv(CWnd* pWnd, char *buf, int buflen);
// Dialog Data
//{{AFX_DATA(CMyserialDlg)
enum { IDD = IDD_MYSERIAL_DIALOG };
CString m_strSendEdit;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyserialDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyserialDlg)
virtual BOOL OnInitDialog();
afx_msg void OnButton1();
afx_msg void OnWrite();
afx_msg void OnOpen();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYSERIALDLG_H__027E14BC_88D6_45C5_90C9_081F0C4C5B79__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -