91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 65KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-06
  • 語言: C/C++
  • 標簽:

資源簡介

C++網絡蜘蛛源碼VS開發平臺 支持多種搜索 可以任意修改

資源截圖

代碼片段和文件信息

//?ChildFrm.cpp?:?implementation?of?the?CChildframe?class
//

#include?“stdafx.h“
#include?“Spider.h“
#include?
#include?“ThreadParams.h“

#include?“ChildFrm.h“
#include?“SpiderDoc.h“
#include?“SpiderList.h“
#include?“SpiderView.h“

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


/////////////////////////////////////////////////////////////////////////////
//?CChildframe

IMPLEMENT_DYNCREATE(CChildframe?CMDIChildWnd)

BEGIN_MESSAGE_MAP(CChildframe?CMDIChildWnd)
//{{AFX_MSG_MAP(CChildframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
//}}AFX_MSG_MAP
ON_MESSAGE(WM_USER_LISTOnView)

END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CChildframe?construction/destruction

CChildframe::CChildframe()
{
//?TODO:?add?member?initialization?code?here

}

CChildframe::~CChildframe()
{
}

BOOL?CChildframe::PreCreateWindow(CREATESTRUCT&?cs)
{
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs

cs.style?=?WS_CHILD?|?WS_VISIBLE?|?WS_OVERLAPPED?|?WS_CAPTION?|?WS_SYSMENU
|?FWS_ADDTOtitle?|?WS_THICKframe?|?WS_MINIMIZEBOX?|?WS_MAXIMIZEBOX?|?WS_MAXIMIZE;

return?CMDIChildWnd::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
//?CChildframe?diagnostics

#ifdef?_DEBUG
void?CChildframe::AssertValid()?const
{
CMDIChildWnd::AssertValid();
}

void?CChildframe::Dump(CDumpContext&?dc)?const
{
CMDIChildWnd::Dump(dc);
}

#endif?//_DEBUG

/////////////////////////////////////////////////////////////////////////////
//?CChildframe?message?handlers
BOOL?CChildframe::ReplaceView(CRuntimeClass?*?pViewClass)
{
??CCreateContext?context;
??CView?*?pCurrentView;????
??
??//?if?no?active?view?for?the?frame?return?FALSE?because?this?
??//?function?retrieves?the?current?document?from?the?active?view
??if?((pCurrentView=GetActiveView())==NULL)
?????return?FALSE;???????????????
??
??//?If?we‘re?already?displaying?this?kind?of?view?no?need?to?go?
??//?further.?
??if?((pCurrentView->IsKindOf(pViewClass))==TRUE)
?????return?TRUE;
????????????????????????????????????
???//?Get?pointer?to?CDocument?object?so?that?it?can?be?used?in?the?creation?
???//?process?of?the?new?view
???CDocument?*?pDoc=?pCurrentView->GetDocument();
???
????//?set?flag?so?that?document?will?not?be?deleted?when?view?is?destroyed
????BOOL?bAutoDelete=pDoc->m_bAutoDelete;
?? pDoc->m_bAutoDelete=FALSE;????
????//?Delete?existing?view?
????pCurrentView->DestroyWindow();
????//?restore?flag??
????pDoc->m_bAutoDelete=bAutoDelete;
????????????
????????????
????//?Create?new?view?and?redraw
???
???context.m_pNewViewClass=pViewClass;
???context.m_pCurrentDoc=pDoc;
???context.m_pNewDocTemplate=NULL;
???context.m_pLastView=N

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????3476??1998-05-30?06:05??Thread.h
?????文件???????49708??1998-05-25?14:33??Spider.aps
?????文件????????1499??1998-05-20?18:13??ChildFrm.h
?????文件????????3662??1998-05-25?14:23??UrlDlg.cpp
?????文件???????20812??1998-05-30?15:08??MainFrm.cpp
?????文件???????28493??1998-05-30?15:08??Thread.cpp
?????文件????????2637??1998-05-25?14:13??MainFrm.h
?????文件????????1613??1998-05-25?14:14??resource.h
?????文件????????1552??1998-05-30?06:15??Spider.h
?????文件????????1593??1998-05-19?19:38??SpiderDoc.h
?????文件????????1887??1998-05-19?20:14??SpiderList.h
?????文件????????2028??1998-05-19?19:11??SpiderView.h
?????文件?????????974??1998-05-22?18:30??StdAfx.h
?????文件?????????359??1998-05-19?19:06??utily.h
?????文件????????4179??1998-05-30?06:18??ChildFrm.cpp
?????文件???????15668??1998-05-25?14:33??Spider.rc
?????文件?????????398??1998-04-30?16:37??res\Spider.rc2
?????文件????????1078??1998-04-30?16:37??res\SpiderDoc.ico
?????文件????????1078??1998-04-30?16:37??res\Spider.ico
?????文件????????1078??1998-04-30?16:37??res\Toolbar.bmp
?????文件???????49664??1998-05-30?15:08??Spider.opt
?????文件????????5657??1998-05-30?06:19??Spider.cpp
?????文件????????2760??1998-05-19?20:12??SpiderDoc.cpp
?????文件????????4623??1998-05-30?06:16??SpiderList.cpp
?????文件????????6594??1998-05-30?06:18??SpiderView.cpp
?????文件?????????204??1998-04-30?16:37??StdAfx.cpp
?????文件????????4908??1998-05-30?15:07??utily.cpp
?????文件????????3680??1998-05-25?14:27??Spider.clw
?????文件????????5331??1998-05-25?20:57??Spider.dsp
?????文件???????11511??1998-05-30?06:03??Spider.htm
?????文件?????????930??1998-05-25?20:30??COPYRIGHT.txt
............此處省略6個文件信息

評論

共有 條評論

相關資源