资源简介
本程序综合和各种图像处理的算法实现过程,由VC++实现
代码片段和文件信息
// ch1_1.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “ch1_1.h“
#include “MainFrm.h“
#include “ChildFrm.h“
#include “ch1_1Doc.h“
#include “ch1_1View.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCh1_1App
BEGIN_MESSAGE_MAP(CCh1_1App CWinApp)
//{{AFX_MSG_MAP(CCh1_1App)
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()
/////////////////////////////////////////////////////////////////////////////
// CCh1_1App construction
CCh1_1App::CCh1_1App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCh1_1App object
CCh1_1App theApp;
/////////////////////////////////////////////////////////////////////////////
// CCh1_1App initialization
BOOL CCh1_1App::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.
CMultiDocTemplate* pDocTemplate;
pDocTemplate = new CMultiDocTemplate(
IDR_CH1_1TYPE
RUNTIME_CLASS(CCh1_1Doc)
RUNTIME_CLASS(CChildframe) // custom MDI child frame
RUNTIME_CLASS(CCh1_1View));
AddDocTemplate(pDocTemplate);
// create main MDI frame window
CMainframe* pMainframe = new CMainframe;
if (!pMainframe->Loadframe(IDR_MAINframe))
return FALSE;
m_pMainWnd = pMainframe;
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
//启动时不自动打开一个空文档
cmdInfo.m_nShellCommand=CCommandLineInfo::FileNothing;
// Dispatch comm
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 47604 2009-06-26 17:31 image\ch1_1.aps
文件 16006 2009-06-27 21:31 image\ch1_1.clw
文件 4463 2006-04-18 21:46 image\ch1_1.cpp
文件 7826 2006-08-05 11:38 image\ch1_1.dsp
文件 535 2006-04-18 21:46 image\ch1_1.dsw
文件 1345 2006-04-18 20:36 image\ch1_1.h
文件 869376 2009-06-27 21:32 image\ch1_1.ncb
文件 56832 2009-06-27 21:32 image\ch1_1.opt
文件 1250 2009-06-27 21:30 image\ch1_1.plg
文件 37197 2006-08-06 21:54 image\ch1_1.rc
文件 8152 2006-04-21 10:43 image\ch1_1Doc.cpp
文件 1995 2006-06-12 19:53 image\ch1_1Doc.h
文件 83655 2009-06-27 21:02 image\ch1_1View.cpp
文件 3500 2006-08-06 21:34 image\ch1_1View.h
文件 1882 2006-04-19 22:05 image\ChildFrm.cpp
文件 1443 2006-04-21 10:01 image\ChildFrm.h
文件 65041 2006-06-11 22:44 image\ColorTable.h
文件 8662 2006-08-06 21:31 image\detect.cpp
文件 581 2006-08-05 11:13 image\detect.h
文件 28388 2001-02-17 01:11 image\DIBAPI.CPP
文件 1806 2001-02-14 18:36 image\DIBAPI.H
文件 1591 2006-06-12 19:46 image\DlgColor.cpp
文件 1458 2006-06-12 20:11 image\DlgColor.h
文件 986 2006-05-21 21:22 image\DlgGeoRota.cpp
文件 1232 2006-05-21 21:22 image\DlgGeoRota.h
文件 1034 2006-05-16 22:24 image\DlgGeoTran.cpp
文件 1245 2006-05-16 22:24 image\DlgGeoTran.h
文件 1263 2006-05-21 10:56 image\DlgGeoZoom.h
文件 1034 2006-05-21 09:48 image\DlgGeoZoom1.cpp
文件 1030 2006-05-21 09:59 image\DlgGeoZoom2.cpp
文件 1246 2006-05-21 09:59 image\DlgGeoZoom2.h
............此处省略49个文件信息
- 上一篇:STM32-FM1702
- 下一篇:一个FTP客户端的设计与实现C实现
评论
共有 条评论