📄 winpingdlg.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -