資源簡(jiǎn)介
VS2005中在mfc對(duì)話框中嵌入一個(gè)matlab的figure圖形,并且圖形可以隨窗口的大小的改變而改變

代碼片段和文件信息
//?InstMatPicInMfc.cpp?:?定義應(yīng)用程序的類行為。
//
#include?“stdafx.h“
#include?“InstMatPicInMfc.h“
#include?“InstMatPicInMfcDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CInstMatPicInMfcApp
BEGIN_MESSAGE_MAP(CInstMatPicInMfcApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CInstMatPicInMfcApp?構(gòu)造
CInstMatPicInMfcApp::CInstMatPicInMfcApp()
{
//?TODO:?在此處添加構(gòu)造代碼,
//?將所有重要的初始化放置在?InitInstance?中
}
//?唯一的一個(gè)?CInstMatPicInMfcApp?對(duì)象
CInstMatPicInMfcApp?theApp;
//?CInstMatPicInMfcApp?初始化
BOOL?CInstMatPicInMfcApp::InitInstance()
{
//?如果一個(gè)運(yùn)行在?Windows?XP?上的應(yīng)用程序清單指定要
//?使用?ComCtl32.dll?版本?6?或更高版本來啟用可視化方式,
//則需要?InitCommonControlsEx()。否則,將無法創(chuàng)建窗口。
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?將它設(shè)置為包括所有要在應(yīng)用程序中使用的
//?公共控件類。
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
//?標(biāo)準(zhǔn)初始化
//?如果未使用這些功能并希望減小
//?最終可執(zhí)行文件的大小,則應(yīng)移除下列
//?不需要的特定初始化例程
//?更改用于存儲(chǔ)設(shè)置的注冊(cè)表項(xiàng)
//?TODO:?應(yīng)適當(dāng)修改該字符串,
//?例如修改為公司或組織名
SetRegistryKey(_T(“應(yīng)用程序向?qū)傻谋镜貞?yīng)用程序“));
CInstMatPicInMfcDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?在此處放置處理何時(shí)用“確定”來關(guān)閉
//??對(duì)話框的代碼
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?在此放置處理何時(shí)用“取消”來關(guān)閉
//??對(duì)話框的代碼
}
//?由于對(duì)話框已關(guān)閉,所以將返回?FALSE?以便退出應(yīng)用程序,
//??而不是啟動(dòng)應(yīng)用程序的消息泵。
return?FALSE;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????114688??2015-05-08?11:08??InstMatPicInMfc\debug\InstMatPicInMfc.exe
?????文件?????934840??2015-05-08?11:08??InstMatPicInMfc\debug\InstMatPicInMfc.ilk
?????文件????3329024??2015-05-08?11:08??InstMatPicInMfc\debug\InstMatPicInMfc.pdb
?????文件???????6748??2015-05-08?11:08??InstMatPicInMfc\InstMatPicInMfc\Debug\BuildLog.htm
?????文件????????936??2015-05-08?09:54??InstMatPicInMfc\InstMatPicInMfc\Debug\InstMatPicInMfc.exe.em
?????文件???????1000??2015-05-08?09:54??InstMatPicInMfc\InstMatPicInMfc\Debug\InstMatPicInMfc.exe.em
?????文件????????884??2015-05-08?11:08??InstMatPicInMfc\InstMatPicInMfc\Debug\InstMatPicInMfc.exe.intermediate.manifest
?????文件??????22114??2015-05-08?09:54??InstMatPicInMfc\InstMatPicInMfc\Debug\InstMatPicInMfc.obj
?????文件???13500416??2015-05-08?09:54??InstMatPicInMfc\InstMatPicInMfc\Debug\InstMatPicInMfc.pch
?????文件??????23372??2015-05-08?11:08??InstMatPicInMfc\InstMatPicInMfc\Debug\InstMatPicInMfc.res
?????文件??????60628??2015-05-08?11:07??InstMatPicInMfc\InstMatPicInMfc\Debug\InstMatPicInMfcDlg.obj
?????文件?????????65??2015-05-08?11:08??InstMatPicInMfc\InstMatPicInMfc\Debug\mt.dep
?????文件??????14748??2015-05-08?09:54??InstMatPicInMfc\InstMatPicInMfc\Debug\PicCom_idl_i.obj
?????文件?????270798??2015-05-08?09:54??InstMatPicInMfc\InstMatPicInMfc\Debug\stdafx.obj
?????文件?????707584??2015-05-08?11:07??InstMatPicInMfc\InstMatPicInMfc\Debug\vc80.idb
?????文件?????700416??2015-05-08?11:07??InstMatPicInMfc\InstMatPicInMfc\Debug\vc80.pdb
?????文件???????4364??2014-01-04?21:37??InstMatPicInMfc\InstMatPicInMfc\easysize.h
?????文件??????58920??2015-05-08?11:08??InstMatPicInMfc\InstMatPicInMfc\InstMatPicInMfc.aps
?????文件???????1766??2015-05-07?20:11??InstMatPicInMfc\InstMatPicInMfc\InstMatPicInMfc.cpp
?????文件????????495??2015-05-07?20:11??InstMatPicInMfc\InstMatPicInMfc\InstMatPicInMfc.h
?????文件???????5153??2015-05-08?11:08??InstMatPicInMfc\InstMatPicInMfc\InstMatPicInMfc.rc
?????文件???????5850??2015-05-07?21:48??InstMatPicInMfc\InstMatPicInMfc\InstMatPicInMfc.vcproj
?????文件???????1427??2015-05-08?20:27??InstMatPicInMfc\InstMatPicInMfc\InstMatPicInMfc.vcproj.WIN7-20140629TH.Administrator.user
?????文件???????5624??2015-05-08?11:07??InstMatPicInMfc\InstMatPicInMfc\InstMatPicInMfcDlg.cpp
?????文件????????858??2015-05-08?09:46??InstMatPicInMfc\InstMatPicInMfc\InstMatPicInMfcDlg.h
?????文件?????124425??2015-05-07?21:11??InstMatPicInMfc\InstMatPicInMfc\mwcomtypes.h
?????文件?????155648??2015-05-07?21:11??InstMatPicInMfc\InstMatPicInMfc\PicCom_1_0.dll
?????文件???????1566??2015-05-07?21:11??InstMatPicInMfc\InstMatPicInMfc\PicCom_1_0.lib
?????文件???????8924??2015-05-07?21:11??InstMatPicInMfc\InstMatPicInMfc\PicCom_idl.h
?????文件???????1985??2015-05-07?21:11??InstMatPicInMfc\InstMatPicInMfc\PicCom_idl_i.c
............此處省略21個(gè)文件信息
評(píng)論
共有 條評(píng)論