You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
914 B
C++
50 lines
914 B
C++
|
|
// DevPrtTestDlg.h : header file
|
|
//
|
|
|
|
#pragma once
|
|
|
|
// CDevPrtTestDlg dialog
|
|
class CDevPrtTestDlg : public CDialogEx
|
|
{
|
|
// Construction
|
|
public:
|
|
CDevPrtTestDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
#ifdef AFX_DESIGN_TIME
|
|
enum { IDD = IDD_DEVPRTTEST_DIALOG };
|
|
#endif
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
|
|
// Implementation
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
// Generated message map functions
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
afx_msg void OnPaint();
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
afx_msg void OnBnClickedBtnOpen();
|
|
afx_msg void OnBnClickedSend();
|
|
|
|
|
|
private:
|
|
HANDLE m_DevHd;
|
|
|
|
private:
|
|
void InitStr();
|
|
int GetIntData(int iId, int iLen);
|
|
|
|
public:
|
|
afx_msg void OnBnClickedGetstates();
|
|
afx_msg void OnBnClickedClose();
|
|
afx_msg void OnBnClickedPapercut();
|
|
};
|