managesubnet.h

来自「我们的网管程序的后台软件,主要是网络方面的内容.」· C头文件 代码 · 共 87 行

H
87
字号
#if !defined(AFX_MANAGESUBNET_H__4E35DAF2_53FD_46F5_88CE_BC16EE99036C__INCLUDED_)
#define AFX_MANAGESUBNET_H__4E35DAF2_53FD_46F5_88CE_BC16EE99036C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ManageSubnet.h : header file
//

#include "EditListCtrl.h"

/////////////////////////////////////////////////////////////////////////////
// CManageSubnet dialog

class CManageSubnet : public CDialog
{
// Construction
public:
	int		m_pos;
	UINT	uIDTimer;

public:
	CManageSubnet(CWnd* pParent = NULL);   // standard constructor
	~CManageSubnet();

	int UpdateSubnetCtrlList();
	int UpdateNECtrlList();

	BOOL GetCurrentNEID(U32*);
	CNe* GetCurrentNE();
	BOOL GetCurrentSubnetID(U32*);
	CSubnet *GetCurrentSubnet();

	void UdpSocketProtocolGet();

	void SnmpProtocolSet();
	void SnmpProtocolGet();

// Dialog Data
	//{{AFX_DATA(CManageSubnet)
	enum { IDD = IDD_ADD_SUBNET };
	CComboBox	m_StrOID;
	CEditListCtrl	m_neList;
	CEditListCtrl	m_list;
	CString	m_StrValue;
	CString	m_StrReturn;
	//}}AFX_DATA
	
	int		m_SubnetRow ;
	int		m_NERow ;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CManageSubnet)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CManageSubnet)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnSubnetUpdate();
	afx_msg void OnSubnetDel();
	afx_msg void OnNeOk();
	afx_msg void OnNeUpdate();
	afx_msg void OnNeDel();
	afx_msg void OnGet();
	afx_msg void OnSet();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg LRESULT OnMibQuerySet(WPARAM wParam, LPARAM lParam);
	afx_msg void OnClickSubnetList(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MANAGESUBNET_H__4E35DAF2_53FD_46F5_88CE_BC16EE99036C__INCLUDED_)

⌨️ 快捷键说明

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