📄 uartmousedlg.h
字号:
// UartMouseDlg.h : header file
//
#pragma once
// CUartMouseDlg dialog
class CUartMouseDlg : public CDialog
{
// Construction
public:
CUartMouseDlg(CWnd* pParent = NULL); // standard constructor
//HANDLE g_hCom ; // Comm Port Handle
DCB dcbComm; //This structure defines the control setting for a serial communications device.
//COMMTIMEOUTS cto;
COMMPROP COMContent;
HANDLE g_hDriverThread ; // driver thread handle
HANDLE g_hTreadStopedEvent;
DWORD g_dwDriverThreadId; // driver thread id
BOOL Initial_COMPort();
CRITICAL_SECTION g_sCritSection;
// Dialog Data
enum { IDD = IDD_UARTMOUSE_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
#if defined(_DEVICE_RESOLUTION_AWARE) && !defined(WIN32_PLATFORM_WFSP)
afx_msg void OnSize(UINT /*nType*/, int /*cx*/, int /*cy*/);
#endif
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnPaint();
protected:
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -