資源簡介
種子填充算法VC程序.rar,需要就下吧

代碼片段和文件信息
//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//
#include?“stdafx.h“
#include?“zhztch.h“
#include?“MainFrm.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMainframe
IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction
CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here
}
CMainframe::~CMainframe()
{
}
int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;
if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}
if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}
//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
return?0;
}
BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics
#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}
void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}
#endif?//_DEBUG
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2328??2007-07-16?12:14??種子填充算法VC程序\zhztch.clw
?????文件???????4311??2007-06-25?15:50??種子填充算法VC程序\ReadMe.txt
?????文件???????1356??2007-06-25?15:50??種子填充算法VC程序\zhztch.h
?????文件???????1054??2007-06-25?15:50??種子填充算法VC程序\StdAfx.h
?????文件????????208??2007-06-25?15:50??種子填充算法VC程序\StdAfx.cpp
?????文件???????1581??2007-06-25?15:50??種子填充算法VC程序\MainFrm.h
?????文件???????2507??2007-06-25?15:50??種子填充算法VC程序\MainFrm.cpp
?????文件???????1475??2007-06-25?15:50??種子填充算法VC程序\zhztchDoc.h
?????文件???????1742??2007-06-25?15:50??種子填充算法VC程序\zhztchDoc.cpp
?????文件????????640??2007-06-27?09:50??種子填充算法VC程序\Resource.h
?????文件??????11742??2007-06-27?09:50??種子填充算法VC程序\zhztch.rc
?????文件???????4555??2007-06-25?15:50??種子填充算法VC程序\zhztch.dsp
?????文件????????535??2007-06-25?15:50??種子填充算法VC程序\zhztch.dsw
?????文件?????123904??2007-07-16?12:14??種子填充算法VC程序\zhztch.ncb
?????文件???????1131??2007-07-16?12:14??種子填充算法VC程序\zhztch.plg
?????文件???????2042??2007-06-27?16:37??種子填充算法VC程序\zhztchView.h
?????文件???????4209??2007-06-25?15:50??種子填充算法VC程序\zhztch.cpp
?????文件??????28868??2007-07-16?11:35??種子填充算法VC程序\zhztch.aps
?????文件???????4838??2007-07-16?12:14??種子填充算法VC程序\zhztchView.cpp
?????文件??????55808??2007-07-16?12:14??種子填充算法VC程序\zhztch.opt
?????文件????????398??2007-06-25?15:50??種子填充算法VC程序\res\zhztch.rc2
?????文件???????1078??2007-06-25?15:50??種子填充算法VC程序\res\zhztchDoc.ico
?????文件???????1078??2007-06-25?15:50??種子填充算法VC程序\res\zhztch.ico
?????文件???????1198??2007-06-27?09:50??種子填充算法VC程序\res\Toolbar.bmp
?????目錄??????????0??2007-10-23?00:21??種子填充算法VC程序\res
?????目錄??????????0??2007-10-23?00:21??種子填充算法VC程序
-----------?---------??----------?-----??----
???????????????258586????????????????????26
- 上一篇:飛機大戰游戲 模塊設計報告
- 下一篇:MT4多空趨勢.ex4
評論
共有 條評論