資源簡介
vc++ ,小球運動vc++程序

代碼片段和文件信息
//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//
#include?“stdafx.h“
#include?“PaoPao.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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-06-18?10:53??計算機圖形-423-張文君\
?????目錄???????????0??2012-06-18?10:53??計算機圖形-423-張文君\ball\
?????目錄???????????0??2012-06-18?10:53??計算機圖形-423-張文君\ball\vc小程序\
?????目錄???????????0??2012-06-18?10:53??計算機圖形-423-張文君\ball\vc小程序\PaoPao\
?????目錄???????????0??2012-06-18?10:53??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\
?????目錄???????????0??2012-06-18?10:53??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\
?????文件???????19908??2009-02-24?11:23??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\MainFrm.obj
?????文件??????118859??2012-05-24?15:22??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\PaoPao.exe
?????文件??????307500??2012-05-24?15:22??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\PaoPao.ilk
?????文件???????22936??2009-02-24?14:06??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\PaoPao.obj
?????文件?????5497884??2009-02-24?11:23??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\PaoPao.pch
?????文件??????492544??2012-05-24?15:22??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\PaoPao.pdb
?????文件????????7276??2009-02-24?11:23??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\PaoPao.res
?????文件???????14709??2009-02-24?11:23??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\PaoPaoDoc.obj
?????文件???????23748??2012-05-24?15:22??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\PaoPaoView.obj
?????文件???????24224??2009-02-24?13:07??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\PaoPaoView.obj.enc
?????文件??????105619??2009-02-24?11:23??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\StdAfx.obj
?????文件??????214016??2012-05-24?15:23??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\vc60.idb
?????文件??????364544??2012-05-24?15:22??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\Debug\vc60.pdb
?????文件????????2507??2009-02-24?11:17??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\MainFrm.cpp
?????文件????????1581??2009-02-24?11:17??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\MainFrm.h
?????文件???????28716??2009-02-24?11:25??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\PaoPao.aps
?????文件????????2274??2009-02-24?13:58??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\PaoPao.clw
?????文件????????4209??2009-02-24?11:17??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\PaoPao.cpp
?????文件????????4555??2009-02-24?11:17??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\PaoPao.dsp
?????文件?????????535??2009-02-24?11:17??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\PaoPao.dsw
?????文件????????1356??2009-02-24?11:17??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\PaoPao.h
?????文件???????74752??2012-05-24?15:44??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\PaoPao.ncb
?????文件???????54784??2012-05-24?15:44??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\PaoPao.opt
?????文件?????????825??2012-05-24?15:22??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\PaoPao.plg
?????文件???????10553??2009-02-24?11:17??計算機圖形-423-張文君\ball\vc小程序\PaoPao\PaoPao\PaoPao.rc
............此處省略14個文件信息
評論
共有 條評論