⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scanlancomputerdlg.h

📁 VisualC高级编程技术精粹.rar
💻 H
字号:
// ScanLanComputerDlg.h : header file
//

#if !defined(AFX_SCANLANCOMPUTERDLG_H__DE6CDDC7_A43B_11D5_A956_0050BA0F0366__INCLUDED_)
#define AFX_ScanLanComputerDLG_H__DE6CDDC7_A43B_11D5_A956_0050BA0F0366__INCLUDED_

#include "UDP.h"	// Added by ClassView

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CScanLanComputerDlg dialog

class CScanLanComputerDlg : public CDialog
{
// Construction
public:
	void OnReceive();
	CUDP m_UDPSocket;
	CString	m_strIP;

	CScanLanComputerDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CScanLanComputerDlg)
	enum { IDD = IDD_ScanLanComputer_DIALOG };
	CListBox	m_ListBoxIP;
	CListCtrl	m_ListCtrlComputerInfo;
	CIPAddressCtrl	m_IPEdit1;
	CIPAddressCtrl	m_IPEdit2;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CScanLanComputerDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CScanLanComputerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBtnStart();
	afx_msg void OnFieldchangedIpaddress1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBtnExit();
	afx_msg void OnBtnSave();
	afx_msg void OnDblclkListView(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonCancel();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnButtonClear();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SCANLANCOMPUTERDLG_H__DE6CDDC7_A43B_11D5_A956_0050BA0F0366__INCLUDED_)

⌨️ 快捷键说明

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