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

  • 大小: 32KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-01
  • 語言: C/C++
  • 標簽: mfc??顯示圖片??

資源簡介

用COleRichEditCtrl顯示帶圖文的rtf文件,使用vc++6.0編譯

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“001.h“
#include?“001Dlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMy001App

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

/////////////////////////////////////////////////////////////////////////////
//?CMy001App?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy001App?object

CMy001App?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CMy001App?initialization

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

CMy001Dlg?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??2015-05-18?19:03??showrtf\
?????文件???????34584??2015-05-18?18:47??showrtf\001.aps
?????文件?????????753??2015-05-18?19:03??showrtf\001.clw
?????文件????????2043??2015-05-18?18:43??showrtf\001.cpp
?????文件????????4247??2015-05-18?19:03??showrtf\001.dsp
?????文件?????????512??2015-05-18?19:03??showrtf\001.dsw
?????文件????????1301??2015-05-18?18:43??showrtf\001.h
?????文件???????50176??2015-05-18?19:03??showrtf\001.ncb
?????文件???????49664??2015-05-18?19:03??showrtf\001.opt
?????文件?????????531??2015-05-18?19:01??showrtf\001.plg
?????文件????????4546??2015-05-18?18:47??showrtf\001.rc
?????文件????????3178??2015-05-18?19:01??showrtf\001Dlg.cpp
?????文件????????1603??2015-05-18?18:52??showrtf\001Dlg.h
?????文件????????5471??2015-05-18?18:59??showrtf\OleRichEditCtrl.cpp
?????文件????????3200??2015-05-18?18:59??showrtf\OleRichEditCtrl.h
?????文件????????3531??2015-05-18?18:43??showrtf\ReadMe.txt
?????目錄???????????0??2015-05-18?18:43??showrtf\res\
?????文件?????????589??2015-05-18?18:45??showrtf\resource.h
?????文件????????1078??2015-05-18?18:43??showrtf\res\001.ico
?????文件?????????395??2015-05-18?18:43??showrtf\res\001.rc2
?????文件?????????205??2015-05-18?18:43??showrtf\StdAfx.cpp
?????文件????????1054??2015-05-18?18:43??showrtf\StdAfx.h

評論

共有 條評論