91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 107KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-16
  • 語言: C/C++
  • 標(biāo)簽:

資源簡介

這是我剛工作時,老大讓我們新人做的,從學(xué)習(xí)到開始做花了2個月左右(汗...),現(xiàn)在基本完成了,和網(wǎng)友分享,共同學(xué)習(xí)一下。這個畫圖小程序在VC6.0下開發(fā)的,能畫簡單的的直線,矩形和橢圓,還能書寫文字,這些形狀都可以拖動...歡迎大家批評,有問題告訴我哦。 o(∩_∩)o...

資源截圖

代碼片段和文件信息

//?CutePaint.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“CutePaint.h“

#include?“MainFrm.h“
#include?“CutePaintDoc.h“
#include?“CutePaintView.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CCutePaintApp

BEGIN_MESSAGE_MAP(CCutePaintApp?CWinApp)
//{{AFX_MSG_MAP(CCutePaintApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CCutePaintApp?construction

CCutePaintApp::CCutePaintApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCutePaintApp?object

CCutePaintApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CCutePaintApp?initialization

BOOL?CCutePaintApp::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

//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));

LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)

//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.

CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CCutePaintDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CCutePaintView));
AddDocTemplate(pDocTemplate);

//?Enable?DDE?Execute?open
EnableShellOpen();
RegisterShellFileTypes(TRUE);

//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);

//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;

//?The?one?and?only?win

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????58356??2008-11-11?21:53??CutePaint\CutePaint.aps
?????文件????????4779??2008-11-11?22:59??CutePaint\CutePaint.clw
?????文件????????4409??2008-10-06?11:11??CutePaint\CutePaint.cpp
?????文件????????5331??2008-11-10?22:47??CutePaint\CutePaint.dsp
?????文件?????????541??2008-10-06?11:11??CutePaint\CutePaint.dsw
?????文件????????1389??2008-10-06?11:11??CutePaint\CutePaint.h
?????文件??????263168??2008-11-11?22:59??CutePaint\CutePaint.ncb
?????文件???????68608??2008-11-11?22:59??CutePaint\CutePaint.opt
?????文件????????1149??2008-11-11?22:59??CutePaint\CutePaint.plg
?????文件???????16301??2008-11-11?21:53??CutePaint\CutePaint.rc
?????文件?????????701??2008-10-06?11:11??CutePaint\CutePaint.reg
?????文件????????3761??2008-11-11?21:02??CutePaint\CutePaintDoc.cpp
?????文件????????1803??2008-11-11?20:37??CutePaint\CutePaintDoc.h
?????文件???????10505??2008-11-11?20:38??CutePaint\CutePaintView.cpp
?????文件????????3064??2008-11-11?01:43??CutePaint\CutePaintView.h
?????文件????????3322??2008-11-10?20:03??CutePaint\Graphic.cpp
?????文件????????1653??2008-10-17?11:48??CutePaint\Graphic.h
?????文件????????2526??2008-11-11?01:39??CutePaint\MainFrm.cpp
?????文件????????1438??2008-11-11?01:39??CutePaint\MainFrm.h
?????文件????????2527??2008-11-11?22:56??CutePaint\PropertyDlg.cpp
?????文件????????1337??2008-11-11?22:15??CutePaint\PropertyDlg.h
?????文件????????4676??2008-10-06?11:11??CutePaint\ReadMe.txt
?????目錄???????????0??2008-11-12?15:08??CutePaint\res\
?????文件????????3262??2008-10-17?13:28??CutePaint\res\1203.cur
?????文件????????3262??2008-10-17?13:28??CutePaint\res\1205.cur
?????文件????????1078??2008-10-06?11:11??CutePaint\res\CutePaint.ico
?????文件?????????401??2008-10-06?11:11??CutePaint\res\CutePaint.rc2
?????文件????????1078??2008-10-06?11:11??CutePaint\res\CutePaintDoc.ico
?????文件????????1678??2008-11-03?23:27??CutePaint\res\Toolbar.bmp
?????文件????????1656??2008-11-11?21:53??CutePaint\resource.h
?????文件????????1635??2008-11-11?05:18??CutePaint\SetDlg.cpp
............此處省略5個文件信息

評論

共有 條評論

相關(guān)資源