========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : Graph
========================================================================
AppWizard has created this Graph application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your Graph application.
Graph.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
Graph.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CGraphApp application class.
Graph.cpp
This is the main application source file that contains the application
class CGraphApp.
Graph.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
Graph.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\Graph.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file Graph.rc.
res\Graph.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CFrameWnd and controls all SDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the CMainFrame
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in Graph.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
GraphDoc.h, GraphDoc.cpp - the document
These files contain your CGraphDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CGraphDoc::Serialize).
GraphView.h, GraphView.cpp - the view of the document
These files contain your CGraphView class.
CGraphView objects are used to view CGraphDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named Graph.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
CRectTracker, KLineTracker 橡皮筋类
共33个文件
h:8个
cpp:7个
cur:4个
4星 · 超过85%的资源 需积分: 50 93 下载量 38 浏览量
2008-11-11
08:38:30
上传
评论
收藏 83KB RAR 举报
温馨提示
使用别人已经封装好了的类CRecttracker,KLineTracker.这是两个橡皮筋类。 可以画一个图形,然后用鼠标拖动改变大小,可以用鼠标移动GDI图形。。 画直线,然后用鼠标拖动大小,移动. 画一个矩形,用鼠标拖到大小,移动. 划直线的程序已经完全做好了 划矩形的程序还没有完善,主要是因为矩形的类是MFC类,要另外封装成自己需要的类。
资源推荐
资源详情
资源评论
收起资源包目录
Graph.rar (33个子文件)
Graph
GraphDoc.h 1KB
StdAfx.cpp 207B
TRCKRECT.CPP 18KB
Graph.aps 100KB
Graph.cpp 4KB
GraphView.h 2KB
MainFrm.h 1KB
Graph.ncb 113KB
Graph.dsp 5KB
Graph.rc 13KB
GraphDoc.cpp 2KB
LineTracker.cpp 10KB
GraphView.cpp 6KB
Graph.opt 62KB
ReadMe.txt 4KB
StdAfx.h 1KB
新建 文本文档.txt 246B
Graph.clw 3KB
MainFrm.cpp 2KB
Resource.h 1001B
Graph.dsw 533B
TRCKRECT.H 4KB
Graph.h 1KB
res
Graph.ico 1KB
cursor2.cur 326B
GraphDoc.ico 1KB
cursor4.cur 326B
Toolbar.bmp 1KB
Graph.rc2 397B
cursor1.cur 326B
cursor3.cur 326B
Graph.plg 1KB
LineTracker.h 5KB
共 33 条
- 1
资源评论
- 小程序猿小银子2014-08-12不错的两个tracker类
- randy_cy2011-11-07矩形有时无法拖动
- fxh7072012-03-29不错,不过刷新还是要重画背景
- elf65307892012-04-23有点问题,有时候拖不过去,不过还是有参考意义的。
- dengjiang19992011-09-21不错的两个tracker类
lsajeff
- 粉丝: 4
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功