資源簡介
VISUAL C++6 MFC圖像處理 反色和紅色

代碼片段和文件信息
//?111.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“111.h“
#include?“MainFrm.h“
#include?“111Doc.h“
#include?“111View.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy111App
BEGIN_MESSAGE_MAP(CMy111App?CWinApp)
//{{AFX_MSG_MAP(CMy111App)
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()
/////////////////////////////////////////////////////////////////////////////
//?CMy111App?construction
CMy111App::CMy111App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy111App?object
CMy111App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy111App?initialization
BOOL?CMy111App::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(CMy111Doc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CMy111View));
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->UpdateWindow();
return?TRUE;
}
/////////////////
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-03-03?12:03??111\
?????文件????????2240??2014-03-09?20:05??111\111.clw
?????文件????????4183??2014-03-09?20:40??111\111.cpp
?????文件????????4610??2014-03-03?11:47??111\111.dsp
?????文件?????????529??2014-03-03?10:29??111\111.dsw
?????文件????????1333??2014-03-03?10:29??111\111.h
?????文件???????91136??2014-03-13?10:22??111\111.ncb
?????文件???????60928??2014-03-13?10:22??111\111.opt
?????文件????????1094??2014-03-13?10:21??111\111.plg
?????文件???????10672??2014-03-12?19:35??111\111.rc
?????文件????????3127??2014-03-13?10:21??111\111Doc.cpp
?????文件????????1574??2014-03-12?20:31??111\111Doc.h
?????文件????????2622??2014-03-07?17:19??111\111View.cpp
?????文件????????1865??2014-03-03?10:29??111\111View.h
?????目錄???????????0??2014-03-13?10:22??111\Debug\
?????文件????????1927??2014-03-07?17:19??111\Dib.cpp
?????文件?????????745??2014-03-03?11:47??111\Dib.h
?????文件????????2504??2014-03-03?10:29??111\MainFrm.cpp
?????文件????????1581??2014-03-03?10:29??111\MainFrm.h
?????文件????????4253??2014-03-03?10:29??111\ReadMe.txt
?????文件?????????581??2014-03-12?19:35??111\Resource.h
?????文件?????????205??2014-03-03?10:29??111\StdAfx.cpp
?????文件????????1054??2014-03-03?10:29??111\StdAfx.h
?????目錄???????????0??2014-03-03?12:03??111\res\
?????文件????????1078??2014-03-03?10:29??111\res\111.ico
?????文件?????????395??2014-03-03?10:29??111\res\111.rc2
?????文件????????1078??2014-03-03?10:29??111\res\111Doc.ico
?????文件????????1078??2014-03-03?10:29??111\res\Toolbar.bmp
- 上一篇:基于VC++的 IEC60870-103 電力規約 源碼
- 下一篇:車輛計數代碼
評論
共有 條評論