📄 parellelporttestdlg.h
字号:
// ParellelPortTestDlg.h : header file
//
#if !defined(AFX_PARELLELPORTTESTDLG_H__FA8F2BCD_DBA4_4346_8CD4_E598317F2CB5__INCLUDED_)
#define AFX_PARELLELPORTTESTDLG_H__FA8F2BCD_DBA4_4346_8CD4_E598317F2CB5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include"ParallelPort.h"
#include"Lcd1602VcDriver.h"
/////////////////////////////////////////////////////////////////////////////
// CParellelPortTestDlg dialog
#include <conio.h>
//extern CParallelPort EppPort;
extern CLcd1602Driver g_Lcd1602;
extern g_bFlush;
class CParellelPortTestDlg : public CDialog
{
// Construction
public:
CString m_csInfWindow;
HANDLE m_hParallelPort;
BOOL bParalleStat;
CParellelPortTestDlg(CWnd* pParent = NULL); // standard constructor
static DWORD WINAPI CParellelPortTestDlg::RcvWindowThread(LPVOID lpParameter);
// Dialog Data
//{{AFX_DATA(CParellelPortTestDlg)
enum { IDD = IDD_PARELLELPORTTEST_DIALOG };
CEdit m_LcdEdit;
CEdit m_ceInfWindow;
CButton m_ctOpenBtn;
CString m_LcdString;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CParellelPortTestDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CParellelPortTestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOpenButton();
afx_msg void OnWriteButton();
afx_msg void OnReadButton();
afx_msg void OnLcdButton();
afx_msg void OnPinButton();
afx_msg void OnChangeLcdEdit();
afx_msg void OnAboutButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PARELLELPORTTESTDLG_H__FA8F2BCD_DBA4_4346_8CD4_E598317F2CB5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -