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

  • 大小: 1.43MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-08-14
  • 語言: C/C++
  • 標簽: C++??

資源簡介

《Visual C++ 6.0實例教程》源代碼《Visual C++ 6.0實例教程》源代碼

資源截圖

代碼片段和文件信息

//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//

#include?“stdafx.h“
#include?“SampleSDI.h“

#include?“MainFrm.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMainframe

IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)

BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction

CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here

}

CMainframe::~CMainframe()
{
}

int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;

if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}

if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}

//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);

return?0;
}

BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs

return?TRUE;
}

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics

#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}

void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}

#endif?//_DEBUG

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers


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

?????文件???????2510??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\MainFrm.cpp

?????文件???????1581??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\MainFrm.h

?????文件???????1078??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\res\SampleSDI.ico

?????文件????????401??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\res\SampleSDI.rc2

?????文件???????1078??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\res\SampleSDIDoc.ico

?????文件???????1078??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\res\Toolbar.bmp

?????文件????????497??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\Resource.h

?????文件???????2000??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDI.clw

?????文件???????4263??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDI.cpp

?????文件???????4618??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDI.dsp

?????文件????????541??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDI.dsw

?????文件???????1389??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDI.h

?????文件??????91136??2001-07-12?11:31??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDI.ncb

?????文件??????53760??2001-07-12?11:31??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDI.opt

?????文件???????2018??2001-07-12?11:31??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDI.plg

?????文件??????10595??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDI.rc

?????文件???????1802??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDIDoc.cpp

?????文件???????1508??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDIDoc.h

?????文件???????2761??2001-02-27?22:48??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDIView.cpp

?????文件???????1939??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\SampleSDIView.h

?????文件????????211??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\StdAfx.cpp

?????文件???????1054??2001-02-23?15:02??《Visual?C++?6.0實例教程》源代碼\Chapter1_1\StdAfx.h

?????文件???????1078??2001-03-01?10:19??《Visual?C++?6.0實例教程》源代碼\Chapter1_2\res\SampleDLG.ico

?????文件????????401??2001-03-01?10:19??《Visual?C++?6.0實例教程》源代碼\Chapter1_2\res\SampleDLG.rc2

?????文件????????540??2001-03-01?10:19??《Visual?C++?6.0實例教程》源代碼\Chapter1_2\Resource.h

?????文件??????35524??2001-03-01?16:21??《Visual?C++?6.0實例教程》源代碼\Chapter1_2\SampleDLG.aps

?????文件???????1092??2001-03-01?16:33??《Visual?C++?6.0實例教程》源代碼\Chapter1_2\SampleDLG.clw

?????文件???????2105??2001-03-01?10:19??《Visual?C++?6.0實例教程》源代碼\Chapter1_2\SampleDLG.cpp

?????文件???????4213??2001-03-01?10:19??《Visual?C++?6.0實例教程》源代碼\Chapter1_2\SampleDLG.dsp

?????文件????????541??2001-03-01?10:19??《Visual?C++?6.0實例教程》源代碼\Chapter1_2\SampleDLG.dsw

............此處省略887個文件信息

評論

共有 條評論