资源简介
MFC 鼠标实时画线
基于VC6.0 对话框的MFC 鼠标实时画线的一个简单例子。
具体说明:
http://blog.csdn.net/c_s_d_n_user/article/details/8859660
代码片段和文件信息
// DemoMouseDraw.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “DemoMouseDraw.h“
#include “DemoMouseDrawDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDemoMouseDrawApp
BEGIN_MESSAGE_MAP(CDemoMouseDrawApp CWinApp)
//{{AFX_MSG_MAP(CDemoMouseDrawApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CDemoMouseDrawApp construction
CDemoMouseDrawApp::CDemoMouseDrawApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CDemoMouseDrawApp object
CDemoMouseDrawApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CDemoMouseDrawApp initialization
BOOL CDemoMouseDrawApp::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
CDemoMouseDrawDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1111 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDraw.clw
文件 3705 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\ReadMe.txt
文件 1401 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDraw.h
文件 2161 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDraw.cpp
文件 1054 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\StdAfx.h
文件 215 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\StdAfx.cpp
文件 405 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\res\DemoMouseDraw.rc2
文件 1078 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\res\DemoMouseDraw.ico
文件 548 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\Resource.h
文件 4285 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDraw.dsp
文件 532 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDraw.dsw
文件 41984 2013-04-28 10:49 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDraw.ncb
文件 106553 2013-04-28 10:48 MFC 鼠标实时画线\DemoMouseDraw\Debug\DemoMouseDraw.exe
文件 1734 2013-04-28 10:47 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDrawDlg.h
文件 35452 2013-04-28 10:48 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDraw.aps
文件 5199 2013-04-28 10:48 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDraw.rc
文件 1610 2013-04-28 10:49 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDraw.plg
文件 5514 2013-04-28 10:48 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDrawDlg.cpp
文件 20480 2013-04-28 10:49 MFC 鼠标实时画线\DemoMouseDraw\Release\DemoMouseDraw.exe
文件 48640 2013-04-28 10:49 MFC 鼠标实时画线\DemoMouseDraw\DemoMouseDraw.opt
文件 146 2013-04-28 10:50 MFC 鼠标实时画线\MFC 鼠标实时画线.url
目录 0 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\res
目录 0 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw\Debug
目录 0 2013-04-28 10:49 MFC 鼠标实时画线\DemoMouseDraw\Release
目录 0 2013-04-28 10:46 MFC 鼠标实时画线\DemoMouseDraw
目录 0 2013-04-28 10:50 MFC 鼠标实时画线
----------- --------- ---------- ----- ----
283807 26
相关资源
- MFC万年历制作
- MFC+OPENGL实现3D茶壶的旋转、平移
- MFC动态绘制曲线图-HightSpeedChart实现
- MFC下好用的高速绘图控件-(Hight-Spe
- MFC 窗口缩放
- CBarchart 控件做的柱形图 MFC编程
- MFCN42D.DLL
- C++MFC画圆源代码
- 采用MFC编写的文件加密解密程序
- MFC通过文件类型名获取文件图标列表
- MFC用户界面线程的创建
- MFC 界面换肤资源
- VC+MFC网络聊天工具详细设计.doc
- 蚂蚁算法MFC实现执行文件
- 基于MFC的图书管理系统.7z
- 基于MFC的图像处理
- 图片浏览器实现和图像编辑器实现源
- mfc的ftp客户端源码
- MFC 打开文件夹
- MFC成绩管理系统.rar
- zw_基于Ribbon界面的图书管理系统—w
- MFC有界面RSA加密解密算法实现
- vc MFC获得uuid或GUID
- BLH与XYZ的转换
- 计算机网络实验——链路状态路
- 猎豹网校MFC视频教程全套地址
- 串口调试助手源代码(MFC+SComm)
- mfc110.dll
- mfc42.dll
- MFC42.DLL MFC42D.DLL MFC042D.DLL
评论
共有 条评论