winpingdlg.h

来自「学习嵌入式LINUX的好东西」· C头文件 代码 · 共 68 行

H
68
字号
// WinPingDlg.h : header file
//

#pragma once
#include "afxcmn.h"

// CWinPingDlg dialog
class CWinPingDlg : public CDialog
{
// Construction
public:
	CWinPingDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_WINPING_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 OnTimer(UINT_PTR nIDEvent);
public:
	int m_nPos;
	unsigned int m_nDir;
	CPoint	m_ptTo;
	CPoint	m_ptFrom;
	CRect	m_rcRect;
	CImageList	m_img;
public:
	afx_msg void OnPaint();
public:
	BOOL m_bProgress;
public:
	CSpinButtonCtrl m_spinner;
public:
	CString m_ipAddr;
public:
	CListCtrl m_lstRecv;
public:
	afx_msg void OnBnClickedBtnPing();
public:
	UINT m_retry;
public:
	afx_msg HCURSOR OnQueryDragIcon();
public:
	static DWORD Ping(LPVOID param);
public:
	HANDLE m_hEvent;

public:
	afx_msg void OnBnClickedbtnclear();
public:
	afx_msg void OnBnClickedbtnexit();
public:
	afx_msg void OnBnClickedbtnabout();
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?