========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : MyPLC3
========================================================================
AppWizard has created this MyPLC3 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 MyPLC3 application.
MyPLC3.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.
MyPLC3.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CMyPLC3App application class.
MyPLC3.cpp
This is the main application source file that contains the application
class CMyPLC3App.
MyPLC3.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++.
MyPLC3.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\MyPLC3.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file MyPLC3.rc.
res\MyPLC3.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.
MyPLC3.reg
This is an example .REG file that shows you the kind of registration
settings the framework will set for you. You can use this as a .REG
file to go along with your application or just delete it and rely
on the default RegisterShellFileTypes registration.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CMDIFrameWnd and controls all MDI 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 MyPLC3.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
For the child frame window:
ChildFrm.h, ChildFrm.cpp
These files define and implement the CChildFrame class, which
supports the child windows in an MDI application.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
MyPLC3Doc.h, MyPLC3Doc.cpp - the document
These files contain your CMyPLC3Doc class. Edit these files to
add your special document data and to implement file saving and loading
(via CMyPLC3Doc::Serialize).
MyPLC3View.h, MyPLC3View.cpp - the view of the document
These files contain your CMyPLC3View class.
CMyPLC3View objects are used to view CMyPLC3Doc objects.
res\MyPLC3Doc.ico
This is an icon file, which is used as the icon for MDI child windows
for the CMyPLC3Doc class. This icon is included by the main
resource file MyPLC3.rc.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named MyPLC3.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.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
MyPLC3_V13.rar
共127个文件
svn-base:66个
h:14个
cpp:10个
5星 · 超过95%的资源 需积分: 9 13 下载量 18 浏览量
2009-04-18
18:40:04
上传
评论
收藏 221KB RAR 举报
温馨提示
从C成长为C++程序员 博客中提到的源代码的第15个版本 MyPLC3_V11.rar 这个版本存在这样的问题: 如果画线,可以保存文件,但关闭程序时告警。告警信息为 afx.inl 122行有问题。 网上查询后,说此类问题可能是工程文件问题。下面准备返回上一个版本调试。 新增功能: 数字量输入,输出;Or MyPLC3_V12.rar 解决了画线时,关闭视图会出错的问题。 该问题是由于 view 中包含了自定义的 CItemLine, 可能是自定义的析构函数有问题。 定义该结构时,不能在盏上定义。 解决办法是:定义成指针,然后在堆上实例化。 MyPLC3_V13.rar 增加几个ico, 10号版本存在的文件,不知道为什么11号版本没有了。 MyPLC3_V14.rar 1〉增加模拟量输入,输出,放大器 2〉增加了初步的环回检测功能 MyPLC3_V15.rar 1> 更新了递归检测的算法,通过检查每个 Item 的输入端进行递归检测 2> 修改了画线测试功能,增加了 InputPinHitTest() 和 OutputPinHitTest() 3> 增加了 SetItemReference(), 用于给 Item 设置引用 4> 增加了 GetItemReferencePtr(), 用于获取 Item 的某个引用的指针
资源推荐
资源详情
资源评论
收起资源包目录
MyPLC3_V13.rar (127个子文件)
all-wcprops 3KB
all-wcprops 790B
all-wcprops 746B
all-wcprops 326B
MyPLC3.aps 43KB
Toolbar.bmp 1KB
MyPLC3.clw 4KB
sizecbar.cpp 41KB
ItemBase.cpp 18KB
CoolTabCtrl.cpp 14KB
MyPLC3Doc.cpp 12KB
scbarg.cpp 11KB
MyPLC3View.cpp 11KB
MainFrm.cpp 7KB
MyPLC3.cpp 4KB
ChildFrm.cpp 1KB
StdAfx.cpp 208B
line.cur 2KB
pen.cur 2KB
item.cur 2KB
arrow.cur 2KB
InvalidItem.cur 326B
cursor1.cur 326B
cur00001.cur 326B
MyPLC3.dsp 6KB
MyPLC3.dsw 537B
entries 5KB
entries 1KB
entries 1KB
entries 637B
format 2B
format 2B
format 2B
format 2B
fb_type.h 19KB
sizecbar.h 7KB
ItemBase.h 5KB
MyPLC3Doc.h 4KB
CoolTabCtrl.h 3KB
MyPLC3View.h 3KB
scbarg.h 2KB
fb.h 2KB
MainFrm.h 2KB
MyPLC3.h 1KB
ChildFrm.h 1KB
StdAfx.h 1KB
Resource.h 1KB
fb_type_draw.h 631B
icon2.ico 1KB
icon3.ico 1KB
icon1.ico 1KB
MyPLC3Doc.ico 1KB
MyPLC3.ico 1KB
ico00001.ico 766B
MyPLC3.ncb 153KB
MyPLC3.opt 63KB
MyPLC3.plg 246B
MyPLC3.rc 14KB
MyPLC3.rc2 398B
MyPLC3.reg 682B
MyPLC3.ncb.svn-base 153KB
MyPLC3.opt.svn-base 63KB
MyPLC3.aps.svn-base 43KB
sizecbar.cpp.svn-base 41KB
fb_type.h.svn-base 19KB
ItemBase.cpp.svn-base 18KB
MyPLC3.rc.svn-base 14KB
CoolTabCtrl.cpp.svn-base 14KB
MyPLC3Doc.cpp.svn-base 12KB
scbarg.cpp.svn-base 11KB
MyPLC3View.cpp.svn-base 11KB
MainFrm.cpp.svn-base 7KB
sizecbar.h.svn-base 7KB
MyPLC3.dsp.svn-base 6KB
ReadMe.txt.svn-base 5KB
ItemBase.h.svn-base 5KB
MyPLC3.cpp.svn-base 4KB
MyPLC3Doc.h.svn-base 4KB
MyPLC3.clw.svn-base 4KB
CoolTabCtrl.h.svn-base 3KB
MyPLC3View.h.svn-base 3KB
scbarg.h.svn-base 2KB
fb.h.svn-base 2KB
pen.cur.svn-base 2KB
item.cur.svn-base 2KB
line.cur.svn-base 2KB
arrow.cur.svn-base 2KB
MainFrm.h.svn-base 2KB
ChildFrm.cpp.svn-base 1KB
icon2.ico.svn-base 1KB
icon3.ico.svn-base 1KB
icon1.ico.svn-base 1KB
MyPLC3.h.svn-base 1KB
ChildFrm.h.svn-base 1KB
StdAfx.h.svn-base 1KB
Resource.h.svn-base 1KB
MyPLC3Doc.ico.svn-base 1KB
MyPLC3.ico.svn-base 1KB
Toolbar.bmp.svn-base 1KB
ico00001.ico.svn-base 766B
共 127 条
- 1
- 2
资源评论
- 梦北2012-12-10好,可以用,
- hello_network2013-03-19非常全面,谢谢
cchaonjust
- 粉丝: 10
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- cad定制家具平面图工具-(FG)门板覆盖柜体
- asp.net 原生js代码及HTML实现多文件分片上传功能(自定义上传文件大小、文件上传类型)
- whl@pip install pyaudio ERROR: Failed building wheel for pyaudio
- Constantsfd密钥和权限集合.kt
- 基于Java的财务报销管理系统后端开发源码
- 基于Python核心技术的cola项目设计源码介绍
- 基于Python及多语言集成的TSDT软件过程改进设计源码
- 基于Java语言的歌唱比赛评分系统设计源码
- 基于JavaEE技术的课程项目答辩源码设计——杨晔萌、李知林、岳圣杰、张俊范小组作品
- 基于Java原生安卓开发的蔚蓝档案娱乐应用设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功