• 大小: 0.02M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-03-27
  • 语言: 其他
  • 标签: 其他  

资源简介


用鼠标进行简单的涂鸦绘图,并对绘图进行重绘,代码简洁,适合MFC入门人员阅读

资源截图

代码片段和文件信息

// baseDocViewDemo1.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “baseDocViewDemo1.h“

#include “MainFrm.h“
#include “baseDocViewDemo1Doc.h“
#include “baseDocViewDemo1View.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CbaseDocViewDemo1App

BEGIN_MESSAGE_MAP(CbaseDocViewDemo1App CWinApp)
//{{AFX_MSG_MAP(CbaseDocViewDemo1App)
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()

///////////////////////

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-07-17 22:56  鼠标绘图Demo\
     目录           0  2012-07-17 22:56  鼠标绘图Demo\baseDocViewDemo1\
     文件        4389  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\baseDocViewDemo1.cpp
     文件        4765  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\baseDocViewDemo1.dsp
     文件         555  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\baseDocViewDemo1.dsw
     文件        1466  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\baseDocViewDemo1.h
     文件       10693  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\baseDocViewDemo1.rc
     文件        1942  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\baseDocViewDemo1Doc.cpp
     文件        1585  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\baseDocViewDemo1Doc.h
     文件        4122  2008-04-15 21:42  鼠标绘图Demo\baseDocViewDemo1\baseDocViewDemo1View.cpp
     文件        2195  2008-04-15 21:22  鼠标绘图Demo\baseDocViewDemo1\baseDocViewDemo1View.h
     目录           0  2012-07-17 23:03  鼠标绘图Demo\baseDocViewDemo1\Debug\
     文件        2517  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\MainFrm.cpp
     文件        1581  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\MainFrm.h
     文件        4551  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\ReadMe.txt
     文件         504  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\Resource.h
     文件         218  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\StdAfx.cpp
     文件        1054  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\StdAfx.h
     目录           0  2012-07-17 22:57  鼠标绘图Demo\baseDocViewDemo1\res\
     文件        1078  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\res\baseDocViewDemo1.ico
     文件         408  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\res\baseDocViewDemo1.rc2
     文件        1078  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\res\baseDocViewDemo1Doc.ico
     文件        1078  2008-04-15 21:19  鼠标绘图Demo\baseDocViewDemo1\res\Toolbar.bmp

评论

共有 条评论