fcustom.cpp

来自「This article describes a sniffer for Win」· C++ 代码 · 共 72 行

CPP
72
字号
////////////////////////////////////////////////////////////////////////////////
//
//   WinSniff 1.1
//   The sniffing tool for windows.
//
//   Author  : Nagareshwar Y Talekar.
//	 Contact : nsry2002@yahoo.co.in
//	 Date    : 15-6-2004.
//
//   Name :  FCustom.cpp
//   Description :  Displays custom filter dialog box. It allows the 
//					adavanced user to specify the filter expression directly.
////////////////////////////////////////////////////////////////////////////////


#include "stdafx.h"
#include "capturepacket.h"
#include "FCustom.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// FCustom dialog


FCustom::FCustom(CWnd* pParent /*=NULL*/)
	: CDialog(FCustom::IDD, pParent)
{
	//{{AFX_DATA_INIT(FCustom)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void FCustom::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(FCustom)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(FCustom, CDialog)
	//{{AFX_MSG_MAP(FCustom)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()





BOOL FCustom::OnInitDialog()
{

	
	return CDialog::OnInitDialog();
}



void FCustom::OnOK() 
{
	GetDlgItemText(IDC_EDIT1,custfilter,200);
	IsEnable=TRUE;
	CDialog::OnOK();
}

⌨️ 快捷键说明

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