資源簡介
MIL圖像新建和顯示演示代碼,演示了最簡單的MIL圖像新建和顯示,演示了MIL圖像新建和顯示的一般流程及在指定的windows窗口顯示

代碼片段和文件信息
//?MilCreateShow.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“MilCreateShow.h“
#include?“MilCreateShowDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMilCreateShowApp
BEGIN_MESSAGE_MAP(CMilCreateShowApp?CWinApp)
//{{AFX_MSG_MAP(CMilCreateShowApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMilCreateShowApp?construction
CMilCreateShowApp::CMilCreateShowApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMilCreateShowApp?object
CMilCreateShowApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMilCreateShowApp?initialization
BOOL?CMilCreateShowApp::InitInstance()
{
//?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.
CMilCreateShowDlg?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??2013-11-23?20:59??VC6_MFC_圖像新建和保存\
?????文件????????1955??2013-11-23?19:51??VC6_MFC_圖像新建和保存\MilCreateShow.cpp
?????文件????????4289??2013-11-23?20:54??VC6_MFC_圖像新建和保存\MilCreateShow.dsp
?????文件?????????534??2013-11-23?19:51??VC6_MFC_圖像新建和保存\MilCreateShow.dsw
?????文件????????1401??2013-11-23?19:51??VC6_MFC_圖像新建和保存\MilCreateShow.h
?????文件????????4679??2013-11-23?20:33??VC6_MFC_圖像新建和保存\MilCreateShow.rc
?????文件????????5789??2013-11-23?20:54??VC6_MFC_圖像新建和保存\MilCreateShowDlg.cpp
?????文件????????1457??2013-11-23?20:32??VC6_MFC_圖像新建和保存\MilCreateShowDlg.h
?????目錄???????????0??2013-11-23?20:56??VC6_MFC_圖像新建和保存\res\
?????文件?????????691??2013-11-23?20:33??VC6_MFC_圖像新建和保存\resource.h
?????文件????????1078??2013-11-23?19:51??VC6_MFC_圖像新建和保存\res\MilCreateShow.ico
?????文件?????????405??2013-11-23?19:51??VC6_MFC_圖像新建和保存\res\MilCreateShow.rc2
?????文件?????????215??2013-11-23?19:51??VC6_MFC_圖像新建和保存\StdAfx.cpp
?????文件????????1063??2013-11-23?19:53??VC6_MFC_圖像新建和保存\StdAfx.h
- 上一篇:小區物業管理系統設計需求書(內含四文檔)
- 下一篇:博客-DIB的讀入、保存和顯示
評論
共有 條評論