ParallelPortControlDlg.h
上传用户:dxkj_777
上传日期:2021-04-03
资源大小:1874k
文件大小:2k
源码类别:

并口编程

开发平台:

Visual C++

  1. // ParallelPortControlDlg.h : header file
  2. //
  3. #if !defined(AFX_PARALLELPORTCONTROLDLG_H__AFE7B354_2821_40E3_BFBD_7B7B6A6C0EC7__INCLUDED_)
  4. #define AFX_PARALLELPORTCONTROLDLG_H__AFE7B354_2821_40E3_BFBD_7B7B6A6C0EC7__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CParallelPortControlDlg dialog
  10. class CParallelPortControlDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CParallelPortControlDlg(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CParallelPortControlDlg)
  17. enum { IDD = IDD_PARALLELPORTCONTROL_DIALOG };
  18. // NOTE: the ClassWizard will add data members here
  19. //}}AFX_DATA
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CParallelPortControlDlg)
  22. public:
  23. virtual BOOL DestroyWindow();
  24. protected:
  25. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. protected:
  29. HICON m_hIcon;
  30. // Generated message map functions
  31. //{{AFX_MSG(CParallelPortControlDlg)
  32. virtual BOOL OnInitDialog();
  33. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  34. afx_msg void OnPaint();
  35. afx_msg HCURSOR OnQueryDragIcon();
  36. afx_msg void OnButtonWritedataport();
  37. afx_msg void OnButtonWritecontorlport();
  38. afx_msg void OnButtonReadstateport();
  39. afx_msg void OnButtonReadcontrolport();
  40. afx_msg void OnButtonWritedata();
  41. afx_msg void OnButtonReaddata();
  42. afx_msg void OnButtonAbout();
  43. virtual void OnOK();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. };
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49. #endif // !defined(AFX_PARALLELPORTCONTROLDLG_H__AFE7B354_2821_40E3_BFBD_7B7B6A6C0EC7__INCLUDED_)