acl/lib_fiber/samples/WinEchod/WinEchodDlg.h
2018-01-09 19:02:10 +08:00

41 lines
702 B
C++

// WinEchodDlg.h : 头文件
//
#pragma once
// CWinEchodDlg 对话框
class CWinEchodDlg : public CDialogEx
{
// 构造
public:
CWinEchodDlg(CWnd* pParent = NULL); // 标准构造函数
~CWinEchodDlg();
// 对话框数据
enum { IDD = IDD_WINECHOD_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m_hIcon;
// 生成的消息映射函数
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 OnBnClickedAbort();
afx_msg void OnBnClickedOpenDos();
private:
FILE* m_dosFp;
UINT m_listenPort;
CString m_listenIP;
};