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

  • 大小: 38.42MB
    文件類(lèi)型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-07-30
  • 語(yǔ)言: 其他
  • 標(biāo)簽: vs2010,c++??

資源簡(jiǎn)介

使用vs2010開(kāi)發(fā)小游戲,這是一個(gè)掃雷的游戲,適應(yīng)于大作業(yè)和畢業(yè)論文

資源截圖

代碼片段和文件信息


//?MainFrm.cpp?:?CMainframe?類(lèi)的實(shí)現(xiàn)
//

#include?“stdafx.h“
#include?“saolei.h“

#include?“MainFrm.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif

//?CMainframe

IMPLEMENT_DYNCREATE(CMainframe?CframeWndEx)

const?int??iMaxUserToolbars?=?10;
const?UINT?uiFirstUserToolBarId?=?AFX_IDW_CONTROLBAR_FIRST?+?40;
const?UINT?uiLastUserToolBarId?=?uiFirstUserToolBarId?+?iMaxUserToolbars?-?1;

BEGIN_MESSAGE_MAP(CMainframe?CframeWndEx)
ON_WM_CREATE()
ON_COMMAND(ID_VIEW_CUSTOMIZE?&CMainframe::OnViewCustomize)
ON_REGISTERED_MESSAGE(AFX_WM_CREATETOOLBAR?&CMainframe::OnToolbarCreateNew)
END_MESSAGE_MAP()

static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?狀態(tài)行指示器
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};

//?CMainframe?構(gòu)造/析構(gòu)

CMainframe::CMainframe()
{
//?TODO:?在此添加成員初始化代碼
}

CMainframe::~CMainframe()
{
}

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

BOOL?bNameValid;

//?設(shè)置用于繪制所有用戶界面元素的視覺(jué)管理器
CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerVS2008));

if?(!m_wndMenuBar.Create(this))
{
TRACE0(“未能創(chuàng)建菜單欄\n“);
return?-1;??????//?未能創(chuàng)建
}

m_wndMenuBar.SetPanestyle(m_wndMenuBar.GetPanestyle()?|?CBRS_SIZE_DYNAMIC?|?CBRS_TOOLTIPS?|?CBRS_FLYBY);

//?防止菜單欄在激活時(shí)獲得焦點(diǎn)
CMFCPopupMenu::SetForceMenuFocus(FALSE);

/*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(theApp.m_bHiColorIcons???IDR_MAINframe_256?:?IDR_MAINframe))
{
TRACE0(“未能創(chuàng)建工具欄\n“);
return?-1;??????//?未能創(chuàng)建
}

CString?strToolBarName;
bNameValid?=?strToolBarName.LoadString(IDS_TOOLBAR_STANDARD);
ASSERT(bNameValid);
m_wndToolBar.SetWindowText(strToolBarName);

CString?strCustomize;
bNameValid?=?strCustomize.LoadString(IDS_TOOLBAR_CUSTOMIZE);
ASSERT(bNameValid);
m_wndToolBar.EnableCustomizeButton(TRUE?ID_VIEW_CUSTOMIZE?strCustomize);

//?允許用戶定義的工具欄操作:
InitUserToolbars(NULL?uiFirstUserToolBarId?uiLastUserToolBarId);

if?(!m_wndStatusBar.Create(this))
{
TRACE0(“未能創(chuàng)建狀態(tài)欄\n“);
return?-1;??????//?未能創(chuàng)建
}
m_wndStatusBar.SetIndicators(indicators?sizeof(indicators)/sizeof(UINT));

//?TODO:?如果您不希望工具欄和菜單欄可停靠,請(qǐng)刪除這五行
m_wndMenuBar.EnableDocking(CBRS_ALIGN_ANY);
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockPane(&m_wndMenuBar);
DockPane(&m_wndToolBar);


//?啟用?Visual?Studio?2005?樣式停靠窗口行為
CDockingManager::SetDockingMode(DT_SMART);
//?啟用?Visual?Studio?2005?樣式停靠窗口自動(dòng)隱藏行為
EnableAutoHidePanes(CBRS_ALIGN_ANY);

//?啟用工具欄和停靠窗口菜單替換
EnablePaneMenu(TRUE?ID_VIEW_CUSTOMIZE?strCustomize?ID_VIEW_TOOLBAR);

//?啟用快速(按住?Alt?拖動(dòng))工具欄自定義
CMFCToolBar::EnableQuickCustomization();

if?(CMFCToolBar::GetUserImages()?==?NULL)
{
//?加載用戶定義的工具欄圖像
if?(m_UserImages.Load(_T(“.\\UserImages.bmp“)))
{
CMFCToolB

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----

?????文件????5344256??2016-11-07?23:48??掃雷\saolei\Debug\saolei.pdb

?????文件???89063424??2018-01-24?17:51??掃雷\saolei\ipch\saolei-19eeef40\saolei-95555fa9.ipch

?????文件??????10908??2018-01-24?17:51??掃雷\saolei\saolei\Debug\cl.command.1.tlog

?????文件?????215060??2018-01-24?17:51??掃雷\saolei\saolei\Debug\CL.read.1.tlog

?????文件???????6120??2018-01-24?17:51??掃雷\saolei\saolei\Debug\CL.write.1.tlog

?????文件??????????2??2018-01-24?17:51??掃雷\saolei\saolei\Debug\link-cvtres.read.1.tlog

?????文件??????????2??2018-01-24?17:51??掃雷\saolei\saolei\Debug\link-cvtres.write.1.tlog

?????文件???????3922??2018-01-24?17:51??掃雷\saolei\saolei\Debug\link.command.1.tlog

?????文件??????11494??2018-01-24?17:51??掃雷\saolei\saolei\Debug\link.read.1.tlog

?????文件???????2514??2018-01-24?17:51??掃雷\saolei\saolei\Debug\link.write.1.tlog

?????文件??????53058??2018-01-24?17:51??掃雷\saolei\saolei\Debug\MainFrm.obj

?????文件???????1466??2016-11-07?23:48??掃雷\saolei\saolei\Debug\mt.command.1.tlog

?????文件???????1418??2016-11-07?23:48??掃雷\saolei\saolei\Debug\mt.read.1.tlog

?????文件????????812??2016-11-07?23:48??掃雷\saolei\saolei\Debug\mt.write.1.tlog

?????文件???????3192??2018-01-24?14:58??掃雷\saolei\saolei\Debug\rc.command.1.tlog

?????文件??????16204??2018-01-24?14:58??掃雷\saolei\saolei\Debug\rc.read.1.tlog

?????文件???????1374??2018-01-24?14:58??掃雷\saolei\saolei\Debug\rc.write.1.tlog

?????文件???????2543??2015-12-01?00:00??掃雷\saolei\saolei\Debug\saolei.Build.CppClean.log

?????文件????????915??2015-12-01?00:00??掃雷\saolei\saolei\Debug\saolei.exe.embed.manifest

?????文件????????980??2018-01-24?14:58??掃雷\saolei\saolei\Debug\saolei.exe.embed.manifest.res

?????文件????????640??2016-11-07?23:48??掃雷\saolei\saolei\Debug\saolei.exe.intermediate.manifest

?????文件?????????61??2018-01-24?17:51??掃雷\saolei\saolei\Debug\saolei.lastbuildstate

?????文件???????1490??2018-01-24?17:51??掃雷\saolei\saolei\Debug\saolei.log

?????文件??????57032??2018-01-24?17:51??掃雷\saolei\saolei\Debug\saolei.obj

?????文件???33619968??2018-01-24?17:51??掃雷\saolei\saolei\Debug\saolei.pch

?????文件??????90836??2018-01-24?14:58??掃雷\saolei\saolei\Debug\saolei.res

?????文件??????????0??2018-01-24?17:51??掃雷\saolei\saolei\Debug\saolei.unsuccessfulbuild

?????文件????????713??2018-01-24?17:40??掃雷\saolei\saolei\Debug\saolei.vcxprojResolveAssemblyReference.cache

?????文件??????????0??2016-11-07?23:42??掃雷\saolei\saolei\Debug\saolei.write.1.tlog

?????文件??????56203??2018-01-24?17:51??掃雷\saolei\saolei\Debug\saoleiDoc.obj

............此處省略58個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源