資源簡介
初學作圖的時候做的,初學MFC的同學可以看看,畫直角坐標系和對應的曲線的

代碼片段和文件信息
//?DRW2.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“DRW2.h“
#include?“DRW2Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDRW2App
BEGIN_MESSAGE_MAP(CDRW2App?CWinApp)
//{{AFX_MSG_MAP(CDRW2App)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CDRW2App?construction
CDRW2App::CDRW2App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDRW2App?object
CDRW2App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDRW2App?initialization
BOOL?CDRW2App::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CDRW2Dlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????531??2012-07-23?17:58??DRW2.dsw
?????文件???????1302??2012-07-23?17:58??DRW2.h
?????文件??????58368??2012-07-25?17:24??DRW2.ncb
?????文件??????54784??2012-07-25?17:24??DRW2.opt
?????文件????????581??2012-07-25?17:23??DRW2.plg
?????文件???????5474??2012-07-25?16:25??DRW2.rc
?????文件???????9191??2012-07-25?17:23??DRW2Dlg.cpp
?????文件???????1657??2012-07-25?16:26??DRW2Dlg.h
?????文件???????3543??2012-07-23?17:58??ReadMe.txt
?????文件????????727??2012-07-25?16:25??resource.h
?????文件????????206??2012-07-23?17:58??StdAfx.cpp
?????文件???????1054??2012-07-23?17:58??StdAfx.h
?????文件???????1078??2012-07-23?17:58??res\DRW2.ico
?????文件????????396??2012-07-23?17:58??res\DRW2.rc2
?????文件??????35408??2012-07-25?16:25??DRW2.APS
?????文件???????1136??2012-07-25?17:23??DRW2.clw
?????文件???????2035??2012-07-23?17:58??DRW2.cpp
?????文件???????4097??2012-07-23?20:05??DRW2.dsp
?????目錄??????????0??2012-07-23?20:06??Debug
?????目錄??????????0??2012-07-25?17:27??Release
?????目錄??????????0??2012-07-23?17:58??res
-----------?---------??----------?-----??----
???????????????181568????????????????????21
評論
共有 條評論