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

  • 大小: 21KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-28
  • 語言: 其他
  • 標(biāo)簽: cscrollview??

資源簡介

繼承于csrollview,能夠拉框放大,來源于網(wǎng)絡(luò),分享下。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“DemoZoom.h“

#include?“MainFrm.h“
#include?“DemoZoomDoc.h“
#include?“DemoZoomView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CDemoZoomApp

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

/////////////////////////////////////////////////////////////////////////////
//?CDemoZoomApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDemoZoomApp?object

CDemoZoomApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CDemoZoomApp?initialization

BOOL?CDemoZoomApp::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(CDemoZoomDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CDemoZoomView));
AddDocTemplate(pDocTemplate);

//?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?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->Up

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????????616??2004-10-08?13:53??DemoZoom.positions
?????文件???????12703??2004-10-08?13:53??DemoZoom.rc
?????文件????????1782??2004-10-08?13:53??DemoZoomDoc.cpp
?????文件????????1497??2004-10-08?13:53??DemoZoomDoc.h
?????文件????????4575??2004-10-08?13:53??DemoZoomView.cpp
?????文件????????2173??2004-10-08?13:53??DemoZoomView.h
?????文件????????2509??2004-10-08?13:53??MainFrm.cpp
?????文件????????1581??2004-10-08?13:53??MainFrm.h
?????文件????????4359??2004-10-08?13:53??ReadMe.txt
?????文件?????????689??2004-10-08?13:53??resource.h
?????文件?????????210??2004-10-08?13:53??StdAfx.cpp
?????文件????????1054??2004-10-08?13:53??StdAfx.h
?????文件????????8317??2004-10-08?13:53??ZoomView.cpp
?????文件????????2343??2004-10-08?13:53??ZoomView.h
?????目錄???????????0??2004-10-08?13:53??res\
?????文件????????1078??2004-10-08?13:53??res\DemoZoom.ico
?????文件?????????400??2004-10-08?13:53??res\DemoZoom.rc2
?????文件????????1078??2004-10-08?13:53??res\DemoZoomDoc.ico
?????文件????????1078??2004-10-08?13:53??res\Toolbar.bmp
?????文件????????4245??2004-10-08?13:53??DemoZoom.cpp
?????文件????????4725??2004-10-08?13:53??DemoZoom.dsp
?????文件?????????539??2004-10-08?13:53??DemoZoom.dsw
?????文件????????1378??2004-10-08?13:53??DemoZoom.h

評(píng)論

共有 條評(píng)論