資源簡介
照著書打的一個畫圖小程序程序,自己又添加修改刪去了一部分,包括界面和功能。

代碼片段和文件信息
//?PaintORama.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“PaintORama.h“
#include?“PaintORamaDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CPaintORamaApp
BEGIN_MESSAGE_MAP(CPaintORamaApp?CWinApp)
//{{AFX_MSG_MAP(CPaintORamaApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CPaintORamaApp?construction
CPaintORamaApp::CPaintORamaApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CPaintORamaApp?object
CPaintORamaApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CPaintORamaApp?initialization
BOOL?CPaintORamaApp::InitInstance()
{
//?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.
SetDialogBkColor(RGB(255255255)RGB(230230230));
CPaintORamaDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-01-30?09:27??PaintORama\
?????文件????????1208??2012-01-30?09:20??PaintORama\PaintORama.clw
?????文件????????1970??2012-01-19?15:42??PaintORama\PaintORama.cpp
?????文件????????5194??2012-01-19?17:37??PaintORama\PaintORama.dsp
?????文件?????????526??2012-01-13?16:51??PaintORama\PaintORama.dsw
?????文件????????1368??2012-01-13?16:51??PaintORama\PaintORama.h
?????文件????????1617??2012-01-30?09:26??PaintORama\PaintORama.plg
?????文件????????7277??2012-01-19?18:07??PaintORama\PaintORama.rc
?????文件???????10919??2012-01-29?15:48??PaintORama\PaintORamaDlg.cpp
?????文件????????2683??2012-01-19?12:40??PaintORama\PaintORamaDlg.h
?????文件????????3651??2012-01-13?16:51??PaintORama\ReadMe.txt
?????目錄???????????0??2012-01-19?18:07??PaintORama\res\
?????文件????????1686??2012-01-19?17:16??PaintORama\resource.h
?????文件?????????518??2012-01-19?16:33??PaintORama\res\bitmap1.bmp
?????文件?????????518??2012-01-19?16:29??PaintORama\res\bitmap2.bmp
?????文件?????????518??2012-01-19?16:33??PaintORama\res\bitmap3.bmp
?????文件?????????518??2012-01-19?16:33??PaintORama\res\bitmap4.bmp
?????文件?????????518??2012-01-19?16:33??PaintORama\res\bmp00001.bmp
?????文件?????????518??2012-01-19?16:33??PaintORama\res\bmp00002.bmp
?????文件?????????518??2012-01-19?16:15??PaintORama\res\bmp00003.bmp
?????文件?????????518??2012-01-19?18:07??PaintORama\res\bmp00004.bmp
?????文件?????????518??2012-01-19?16:29??PaintORama\res\bmp00005.bmp
?????文件?????????518??2012-01-19?18:07??PaintORama\res\bmp00006.bmp
?????文件?????????518??2012-01-19?18:07??PaintORama\res\bmp00007.bmp
?????文件?????????518??2012-01-19?18:07??PaintORama\res\bmp00008.bmp
?????文件?????????518??2012-01-19?16:33??PaintORama\res\bmp00009.bmp
?????文件?????????518??2012-01-19?16:33??PaintORama\res\effipse3.bmp
?????文件????????1078??2012-01-13?16:51??PaintORama\res\PaintORama.ico
?????文件?????????402??2012-01-13?16:51??PaintORama\res\PaintORama.rc2
?????文件?????????212??2012-01-13?16:51??PaintORama\StdAfx.cpp
?????文件?????????999??2012-01-13?16:51??PaintORama\StdAfx.h
............此處省略0個文件信息
評論
共有 條評論