neighborinfodlg.h
来自「该实例用以获得局域网内其它计算机的信息,包括IP地址,主机名,所在工作组和MAC」· C头文件 代码 · 共 59 行
H
59 行
// NeighborInfoDlg.h : header file
//
#if !defined(AFX_NEIGHBORINFODLG_H__62DB6683_C7A0_4019_A9C5_E45277A7BFEA__INCLUDED_)
#define AFX_NEIGHBORINFODLG_H__62DB6683_C7A0_4019_A9C5_E45277A7BFEA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CNeighborInfoDlg dialog
#include "MessSocket.h"
class CNeighborInfoDlg : public CDialog
{
// Construction
public:
CNeighborInfoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CNeighborInfoDlg)
enum { IDD = IDD_NEIGHBORINFO_DIALOG };
CListCtrl m_ListView;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNeighborInfoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
public:
BYTE m_bStartAddress[4],m_bEndAddress[4];
CMessSocket m_socket;
BOOL m_bStop;
void ReceiveMessage();
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CNeighborInfoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBeginScan();
afx_msg void OnStopScan();
afx_msg void OnMyHelp();
afx_msg void OnEmpty();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NEIGHBORINFODLG_H__62DB6683_C7A0_4019_A9C5_E45277A7BFEA__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?