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

  • 大小: 1.1MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-20
  • 語言: C/C++
  • 標簽: MFC??畫圖??

資源簡介

可以畫橢圓 直線 三角形等簡單圖形 使用的是mfc 對話框模式

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“Paint.h“
#include?“PaintDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CPaintApp

BEGIN_MESSAGE_MAP(CPaintApp?CWinApp)
//{{AFX_MSG_MAP(CPaintApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CPaintApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CPaintApp?object

CPaintApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CPaintApp?initialization

BOOL?CPaintApp::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.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CPaintDlg?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;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????????2??2009-05-25?13:48??Paint\ColoreDialog.h

?????文件?????756768??2009-12-16?23:29??Paint\Paint.aps

?????文件???????1176??2009-12-16?23:30??Paint\Paint.clw

?????文件???????2016??2009-05-25?11:20??Paint\Paint.cpp

?????文件???????4541??2009-05-28?11:20??Paint\Paint.dsp

?????文件????????518??2009-05-25?11:20??Paint\Paint.dsw

?????文件???????1313??2009-05-25?11:20??Paint\Paint.h

?????文件?????287744??2009-12-16?23:31??Paint\Paint.ncb

?????文件??????48640??2009-12-16?23:31??Paint\Paint.opt

?????文件????????244??2009-12-16?23:29??Paint\Paint.plg

?????文件???????5852??2009-05-28?09:52??Paint\Paint.rc

?????文件???????5528??2009-05-31?11:21??Paint\PaintDlg.cpp

?????文件???????1836??2009-05-31?11:09??Paint\PaintDlg.h

?????文件???????3561??2009-05-25?11:20??Paint\ReadMe.txt

?????文件???????7398??2009-05-28?09:52??Paint\res\icon1.ico

?????文件????????766??2009-11-25?02:49??Paint\res\icon4.ico

?????文件???????7398??2009-05-28?09:52??Paint\res\Paint.ico

?????文件????????397??2009-05-25?11:20??Paint\res\Paint.rc2

?????文件?????621654??2009-05-28?08:15??Paint\res\profiles.bmp

?????文件??????99734??2009-05-28?09:36??Paint\res\profiles1.bmp

?????文件???????1278??2009-05-28?09:52??Paint\resource.h

?????文件????????207??2009-05-25?11:20??Paint\StdAfx.cpp

?????文件????????999??2009-05-25?11:20??Paint\StdAfx.h

?????目錄??????????0??2009-11-25?02:49??Paint\res

?????目錄??????????0??2010-03-29?12:17??Paint

-----------?---------??----------?-----??----

??????????????1859570????????????????????25


評論

共有 條評論