资源简介
在MFC对话框上的picturecontrol控件上,用鼠标绘图,按输入键开始绘图,按保存键,将picture控件所画图片保存为位图或jpg等格式
代码片段和文件信息
// HandWritenDigitalRecongnition_Demo.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “HandWritenDigitalRecongnition_Demo.h“
#include “HandWritenDigitalRecongnition_DemoDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CHandWritenDigitalRecongnition_DemoApp
BEGIN_MESSAGE_MAP(CHandWritenDigitalRecongnition_DemoApp CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()
// CHandWritenDigitalRecongnition_DemoApp construction
CHandWritenDigitalRecongnition_DemoApp::CHandWritenDigitalRecongnition_DemoApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
// The one and only CHandWritenDigitalRecongnition_DemoApp object
CHandWritenDigitalRecongnition_DemoApp theApp;
// CHandWritenDigitalRecongnition_DemoApp initialization
BOOL CHandWritenDigitalRecongnition_DemoApp::InitInstance()
{
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles. Otherwise any window creation will fail.
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::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
// 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“));
CHandWritenDigitalRecongnition_DemoDlg dlg;
m_pMainWnd = &dlg;
INT_PTR 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 2012-09-14 14:39 VS2008_Dialog_PictureControl_DrawAndSave\
目录 0 2012-09-14 14:33 VS2008_Dialog_PictureControl_DrawAndSave\Debug\
文件 149504 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\Debug\HandWritenDigitalRecongnition_Demo.exe
文件 1295904 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\Debug\HandWritenDigitalRecongnition_Demo.ilk
文件 3935232 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\Debug\HandWritenDigitalRecongnition_Demo.pdb
目录 0 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\
文件 13741056 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo.ncb
文件 968 2012-09-11 18:47 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo.sln
文件 40960 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo.suo
文件 135486 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\1.bmp
文件 2770 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\2.jpg
文件 1 2006-11-20 00:11 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\ClassDiagram1.cd
目录 0 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\
文件 10080 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\BuildLog.htm
文件 1196 2012-09-14 14:33 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\HandWritenDigitalRecongnition_Demo.exe.em
文件 1260 2012-09-14 14:33 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\HandWritenDigitalRecongnition_Demo.exe.em
文件 1120 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\HandWritenDigitalRecongnition_Demo.exe.intermediate.manifest
文件 22650 2012-09-14 14:33 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\HandWritenDigitalRecongnition_Demo.obj
文件 25034752 2012-09-14 14:33 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\HandWritenDigitalRecongnition_Demo.pch
文件 23944 2012-09-14 14:33 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\HandWritenDigitalRecongnition_Demo.res
文件 160694 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\HandWritenDigitalRecongnition_DemoDlg.obj
文件 69 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\mt.dep
文件 466926 2012-09-14 14:33 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\stdafx.obj
文件 1117184 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\vc90.idb
文件 2199552 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\Debug\vc90.pdb
文件 60308 2012-09-14 14:31 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\HandWritenDigitalRecongnition_Demo.aps
文件 2448 2012-09-11 18:47 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\HandWritenDigitalRecongnition_Demo.cpp
文件 672 2012-09-11 18:47 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\HandWritenDigitalRecongnition_Demo.h
文件 6201 2012-09-14 14:31 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\HandWritenDigitalRecongnition_Demo.rc
文件 6445 2012-09-14 14:29 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\HandWritenDigitalRecongnition_Demo.vcproj
文件 1427 2012-09-14 14:43 VS2008_Dialog_PictureControl_DrawAndSave\HandWritenDigitalRecongnition_Demo\HandWritenDigitalRecongnition_Demo.vcproj.XP-200902120857.Administrator.user
............此处省略10个文件信息
- 上一篇:Floyd最短路径程序(MFC)
- 下一篇:C++课程设计学生选课系统+报告文档
相关资源
- Floyd最短路径程序(MFC)
- 图像灰度化软件
-
MFC与Html、ja
vasc ript数据交互 - 全方位图像展开程序
- MFC下实现OpenGL纹理贴图
- mfc复制文件显示进度
- CTP行情接收工具和行情拆分工具 完整
- 基于VS2010MFC平台使用C++编写的上位机
- MFC项目:图书管理系统
- MFCvs2010画曲线图
- VC++实现浏览器
- 基于MFC的网络版连连看系统_源文件
- Visual C++ MFC棋牌类游戏编程五子棋,象
- MFC 150 例程
- c++人脸相似度检测MFC源码
- MFC socket与websocket通信
- VC一个很简单的屏保程序MFC
- MFC界面设计小型点餐系统
- ffplay for MFC 1.1 源代码
- MFC键盘监视器
- vc++ MFC 背单词软件毕业设计系统源代
- MFC__快捷菜单管理器
- MFC最小化至系统托盘源码
- 读取图片并显示的MFC程序
- MFC贪吃蛇完美运行
- MFC实现TCP数据传输
- 停车场管理系统 MFC 数据结构课程设计
- mfc绘制二维坐标系和波形图
- MFC大作业 学生管理系统(附报告)
- 用C++/MFC实现P2P和群聊功能的聊天小软
评论
共有 条评论