资源简介
VC6 MFC图像直方图均衡化、锐化、中值滤波,没有错误,下载即可运行!

代码片段和文件信息
// MainFrm.cpp : implementation of the CMainframe class
//
#include “stdafx.h“
#include “test1.h“
#include “MainFrm.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMainframe
IMPLEMENT_DYNCREATE(CMainframe CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
ON_WM_CREATE()
ON_COMMAND(ID_Middle OnMiddle)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static UINT indicators[] =
{
ID_SEPARATOR // status line indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
// CMainframe construction/destruction
CMainframe::CMainframe()
{
// TODO: add member initialization code here
}
CMainframe::~CMainframe()
{
}
int CMainframe::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CframeWnd::OnCreate(lpCreateStruct) == -1)
return -1;
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(IDR_MAINframe))
{
TRACE0(“Failed to create toolbar\n“);
return -1; // fail to create
}
if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators
sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed to create status bar\n“);
return -1; // fail to create
}
// TODO: Delete these three lines if you don‘t want the toolbar to
// be dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
return 0;
}
BOOL CMainframe::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CframeWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CMainframe diagnostics
#ifdef _DEBUG
void CMainframe::AssertValid() const
{
CframeWnd::AssertValid();
}
void CMainframe::Dump(CDumpContext& dc) const
{
CframeWnd::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CMainframe message handlers
void CMainframe::OnMiddle()
{
// TODO: Add your command handler code here
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 21947 2014-01-14 21:11 test1\Debug\DIBAPI.obj
文件 0 2014-01-14 21:14 test1\Debug\DIBAPI.sbr
文件 20588 2014-01-14 21:11 test1\Debug\MainFrm.obj
文件 0 2014-01-14 21:14 test1\Debug\MainFrm.sbr
文件 105721 2014-01-14 21:11 test1\Debug\StdAfx.obj
文件 1374907 2014-01-14 21:11 test1\Debug\StdAfx.sbr
文件 3712000 2014-01-14 22:06 test1\Debug\test1.bsc
文件 139339 2014-01-14 22:22 test1\Debug\test1.exe
文件 132169 2014-01-14 20:25 test1\Debug\test1.exe.阿里旺旺接收的可疑文件
文件 389700 2014-01-14 22:22 test1\Debug\test1.ilk
文件 23018 2014-01-14 22:03 test1\Debug\test1.obj
文件 6997240 2014-01-14 21:11 test1\Debug\test1.pch
文件 533504 2014-01-14 22:22 test1\Debug\test1.pdb
文件 7328 2014-01-14 22:22 test1\Debug\test1.res
文件 0 2014-01-14 22:03 test1\Debug\test1.sbr
文件 25266 2014-01-14 21:11 test1\Debug\test1Doc.obj
文件 0 2014-01-14 21:14 test1\Debug\test1Doc.sbr
文件 33188 2014-01-14 22:06 test1\Debug\test1View.obj
文件 0 2014-01-14 22:06 test1\Debug\test1View.sbr
文件 238592 2014-01-14 22:22 test1\Debug\vc60.idb
文件 372736 2014-01-14 22:06 test1\Debug\vc60.pdb
文件 28388 2003-05-27 12:00 test1\DIBAPI.CPP
文件 1806 2003-05-27 12:00 test1\DIBAPI.H
文件 2488 2014-01-14 20:48 test1\MainFrm.cpp
文件 1467 2014-01-14 20:48 test1\MainFrm.h
文件 4287 2013-12-20 09:58 test1\ReadMe.txt
文件 1078 2013-12-20 09:58 test1\res\test1.ico
文件 397 2013-12-20 09:58 test1\res\test1.rc2
文件 1078 2013-12-20 09:58 test1\res\test1Doc.ico
文件 1078 2013-12-20 09:58 test1\res\Toolbar.bmp
............此处省略25个文件信息
相关资源
- 基于mfc的多线程文件传输
- MFC数字钟(基于VC6.0)
- VC++MFC小游戏实例教程(实例)+MFC类库
- ChartCtrl控件库(可在VS2019中使用)
- 中值滤波C语言154954
- 商品库存管理系统 C++ MFC
- mfc 调用redis
- MFC视频播放器源码(支持avi/wma/mp3等格
- mfc绘图大全(画直线、矩形、椭圆)
- MFC控件重绘
- hook,捕获所有案件,查找所有窗口,
- (学习)VS2010之MFC入门到精通教程
- MFC文档_视图_框架_模板结构体系深入
- 简单员工管理系统(适合初学MFC)
- MFC五子棋游戏
- MFC UDP编程
- MFC的异步网络通讯应用程序
- C++MFC模块讲解,黑发程序员课程整理
- 一个简单而强大的基于MFC的web server源
- 基于MFC的VC++仿QQ浏览器源码(雏形)
- MFCaccess.rar
- VC++MFC课程设计的学生成绩管理系统
- MFC 日历控件 万年历 Calendar自绘
- CrystalDiskInfo-HDD/SSD硬盘信息,SMART信息
- MFC自定义界面HUI,高效简单,含详细
- 仿射密码-Affine cipher
- c++MFC车牌自动识别定位,只能定位和
- mfc+sql 酒店客房管理系统
- 基于图割的图像分割OpenCV+MFC实现
- MFC绘制Bezier曲线B样条曲线曲线拟合
评论
共有 条评论