資源簡介
Rose_蝴蝶結.rar

代碼片段和文件信息
//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//
#include?“stdafx.h“
#include?“Rose.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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2505??2010-05-20?15:46??Rose_蝴蝶結\MainFrm.cpp
?????文件???????1581??2010-05-20?15:46??Rose_蝴蝶結\MainFrm.h
?????文件???????4263??2010-05-20?15:46??Rose_蝴蝶結\ReadMe.txt
?????文件????????490??2010-05-20?15:46??Rose_蝴蝶結\Resource.h
?????文件???????1925??2010-05-20?15:46??Rose_蝴蝶結\Rose.clw
?????文件???????4173??2010-05-20?15:46??Rose_蝴蝶結\Rose.cpp
?????文件???????4513??2010-05-20?15:46??Rose_蝴蝶結\Rose.dsp
?????文件????????516??2010-05-20?15:46??Rose_蝴蝶結\Rose.dsw
?????文件???????1334??2010-05-20?15:46??Rose_蝴蝶結\Rose.h
?????文件??????74752??2010-05-20?15:55??Rose_蝴蝶結\Rose.ncb
?????文件??????48640??2010-05-20?15:55??Rose_蝴蝶結\Rose.opt
?????文件????????713??2010-05-20?15:54??Rose_蝴蝶結\Rose.plg
?????文件??????10519??2010-05-20?15:46??Rose_蝴蝶結\Rose.rc
?????文件???????1702??2010-05-20?15:46??Rose_蝴蝶結\RoseDoc.cpp
?????文件???????1453??2010-05-20?15:46??Rose_蝴蝶結\RoseDoc.h
?????文件???????3074??2010-05-20?15:54??Rose_蝴蝶結\RoseView.cpp
?????文件???????1859??2010-05-20?15:46??Rose_蝴蝶結\RoseView.h
?????文件????????206??2010-05-20?15:46??Rose_蝴蝶結\StdAfx.cpp
?????文件???????1054??2010-05-20?15:46??Rose_蝴蝶結\StdAfx.h
?????文件??????20027??2010-05-20?15:46??Rose_蝴蝶結\Debug\MainFrm.obj
?????文件?????118863??2010-05-20?15:54??Rose_蝴蝶結\Debug\Rose.exe
?????文件?????333928??2010-05-20?15:54??Rose_蝴蝶結\Debug\Rose.ilk
?????文件??????22948??2010-05-20?15:46??Rose_蝴蝶結\Debug\Rose.obj
?????文件????5506696??2010-05-20?15:46??Rose_蝴蝶結\Debug\Rose.pch
?????文件?????427008??2010-05-20?15:54??Rose_蝴蝶結\Debug\Rose.pdb
?????文件???????7228??2010-05-20?15:46??Rose_蝴蝶結\Debug\Rose.res
?????文件??????14728??2010-05-20?15:46??Rose_蝴蝶結\Debug\RoseDoc.obj
?????文件??????23610??2010-05-20?15:54??Rose_蝴蝶結\Debug\RoseView.obj
?????文件?????105734??2010-05-20?15:46??Rose_蝴蝶結\Debug\StdAfx.obj
?????文件?????222208??2010-05-20?15:54??Rose_蝴蝶結\Debug\vc60.idb
............此處省略11個文件信息
評論
共有 條評論