dnswatchdlg.h

来自「监控dns的程序」· C头文件 代码 · 共 68 行

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

#if !defined(AFX_DNSWATCHDLG_H__DF2B4056_0A84_4696_B625_E4D7C4D80A1A__INCLUDED_)
#define AFX_DNSWATCHDLG_H__DF2B4056_0A84_4696_B625_E4D7C4D80A1A__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDNSWatchDlg dialog

class CDNSWatchDlg : public CDialog
{
// Construction
public:
	CDNSWatchDlg(CWnd* pParent = NULL);	// standard constructor
void CDNSWatchDlg::AddName(CString name_to_add);
int  CDNSWatchDlg::SaveNames (int nbr_to_save, int save_index[] );
// Dialog Data
	//{{AFX_DATA(CDNSWatchDlg)
	enum { IDD = IDD_DNSWATCH_DIALOG };
	CComboBox	m_ip_address_box;
	CEdit	m_total_requests_ctrl;
	CButton	m_beep_button;
	CEdit	m_number_received_ctrl;
	CListBox	m_dns_name_list;
	CString	m_status;
	int		m_number_received;
	CString	m_save_filename;
	CString	m_save_file_text;
	int		m_total_requests;
	BOOL	m_append_box;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDNSWatchDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnStartButton();
	afx_msg void OnStopButton();
	afx_msg void OnSaveListButton();
	afx_msg void OnBeepButton();
	afx_msg void OnAboutButton();
	afx_msg void OnResetButton();
	afx_msg void OnSaveSelectedButton();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DNSWATCHDLG_H__DF2B4056_0A84_4696_B625_E4D7C4D80A1A__INCLUDED_)

⌨️ 快捷键说明

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