Location:
Search - Cobject
Search list
Description: 我们在使用vc进行比较复杂的编程时,经常需要用到复杂的数组结构,并希望能实现动态管理。由于C++并不支持动态数组,MFC提供了一个CArray类来实现动态数组的功能。有效的使用CArray类,可以提高程序的效率。
MFC提供了一套模板库,来实现一些比较常见的数据结构如Array,List,Map。CArray即为其中的一个,用来实现动态数组的功能。
CArray是从CObject派生,有两个模板参数,第一个参数就是CArray类数组元素的变量类型,后一个是函数调用时的参数类型。
我们有一个类 class Object,我们要定义一个Object的动态数组,那么我们可以用以下两种方法
Platform: |
Size: 8813 |
Author: li sheng |
Hits:
Description: 可以实现 CRectTrack 类功能的拖动类,可以移动拖动直线,可拖动普通 CObject 对象。
Platform: |
Size: 71000 |
Author: 卢利峰 |
Hits:
Description: MFC的教程。
包括:
MFC教程_ 概述.files
MFC教程_ MFC和Win32.files
MFC教程_ CObject类.files
MFC教程_ 消息映射的实现.files
MFC教程_ MFC对象的创建.files
MFC教程_ 应用程序的退出.files
-MFC Guide. Including : MFC Guide _ outlined. Directory files _ MFC MFC and Win32.files Guide _ CObject category. Directory files _ MFC Message Mapping realized. MFC tutorial files _ MFC object creation. MFC tutorial files _ from the application. files .......
Platform: |
Size: 588800 |
Author: 翡涩琪 |
Hits:
Description: 我们在使用vc进行比较复杂的编程时,经常需要用到复杂的数组结构,并希望能实现动态管理。由于C++并不支持动态数组,MFC提供了一个CArray类来实现动态数组的功能。有效的使用CArray类,可以提高程序的效率。
MFC提供了一套模板库,来实现一些比较常见的数据结构如Array,List,Map。CArray即为其中的一个,用来实现动态数组的功能。
CArray是从CObject派生,有两个模板参数,第一个参数就是CArray类数组元素的变量类型,后一个是函数调用时的参数类型。
我们有一个类 class Object,我们要定义一个Object的动态数组,那么我们可以用以下两种方法
Platform: |
Size: 8192 |
Author: li sheng |
Hits:
Description: 可以实现 CRectTrack 类功能的拖动类,可以移动拖动直线,可拖动普通 CObject 对象。-Can realize the drag CRectTrack functional category, drag a straight line can be moved to drag the general CObject object.
Platform: |
Size: 70656 |
Author: 卢利峰 |
Hits:
Description: MFC教程_ CObject类
给有需要的朋友们,!-MFC Tutorial _ CObject Class to needy friends,!
Platform: |
Size: 20480 |
Author: 柯凯 |
Hits:
Description: Microsoft Foundation Class Library Version 6.0 的 详 细 树 型 架 构, 非 常 具 体 详 细 ,
MFC编 程 必 备 -Microsoft Foundation Class Library Version 6.0
Platform: |
Size: 102400 |
Author: wwtmw |
Hits:
Description: 本程序包含两个功能:新生资料录入和绘图
新生资料录入:创建了class CStudent:public CObject 为了方便操作,将类的头文件放在CCS3Doc.h中,将执行文件放在 CCS3Doc.cpp中。。这样可以减少了在CCS3Doc中声明CStudent头文件的一步(纯粹尝试,没什么实际意义)。-本程序包含两个功能:新生资料录入和绘图
新生资料录入:创建了class CStudent:public CObject 为了方便操作,将类的头文件放在CCS3Doc.h中,将执行文件放在 CCS3Doc.cpp中。。这样可以减少了在CCS3Doc中声明CStudent头文件的一步(纯粹尝试,没什么实际意义)。
Platform: |
Size: 53248 |
Author: swekey |
Hits:
Description: unctions/Classes:
CCommandLineInfo CString CWnd CDialog CDataExchange GetDlgItem CComboBox CWinApp CSingleDocTemplate DdeInitialize DdeCreateStringHandle DdeGetLastError DdeNameService DdeConnect SetEvent CEvent WaitForSingleObject PostMessage DdeGetData DdeCreateDataHandle CDocTemplate DdePostAdvise DdeClientTransaction CCmdUI PostQuitMessage CStatic SetWindowText CDocument CFormView CView CObject CTime CFrameWnd
File list(Click to check if it s the file you need, and recomment it at the bottom):
MSDEV
.....\Projects
.....\........\GPSServ
.....\........\.......\CmdLineInfo.c-unctions/Classes:
CCommandLineInfo CString CWnd CDialog CDataExchange GetDlgItem CComboBox CWinApp CSingleDocTemplate DdeInitialize DdeCreateStringHandle DdeGetLastError DdeNameService DdeConnect SetEvent CEvent WaitForSingleObject PostMessage DdeGetData DdeCreateDataHandle CDocTemplate DdePostAdvise DdeClientTransaction CCmdUI PostQuitMessage CStatic SetWindowText CDocument CFormView CView CObject CTime CFrameWnd
File list(Click to check if it s the file you need, and recomment it at the bottom):
MSDEV
.....\Projects
.....\........\GPSServ
.....\........\.......\CmdLineInfo.cpp
Platform: |
Size: 11264 |
Author: akub |
Hits:
Description: unctions/Classes:
CCommandLineInfo CString CWnd CDialog CDataExchange GetDlgItem CComboBox CWinApp CSingleDocTemplate DdeInitialize DdeCreateStringHandle DdeGetLastError DdeNameService DdeConnect SetEvent CEvent WaitForSingleObject PostMessage DdeGetData DdeCreateDataHandle CDocTemplate DdePostAdvise DdeClientTransaction CCmdUI PostQuitMessage CStatic SetWindowText CDocument CFormView CView CObject CTime CFrameWnd
File list(Click to check if it s the file you need, and recomment it at the bottom):
MSDEV
.....\Projects
.....\........\GPSServ
.....\........\.......\CmdLineInfo.c-unctions/Classes:
CCommandLineInfo CString CWnd CDialog CDataExchange GetDlgItem CComboBox CWinApp CSingleDocTemplate DdeInitialize DdeCreateStringHandle DdeGetLastError DdeNameService DdeConnect SetEvent CEvent WaitForSingleObject PostMessage DdeGetData DdeCreateDataHandle CDocTemplate DdePostAdvise DdeClientTransaction CCmdUI PostQuitMessage CStatic SetWindowText CDocument CFormView CView CObject CTime CFrameWnd
File list(Click to check if it s the file you need, and recomment it at the bottom):
MSDEV
.....\Projects
.....\........\GPSServ
.....\........\.......\CmdLineInfo.cpp
Platform: |
Size: 647168 |
Author: akub |
Hits:
Description: Java game code. marv the miner
Platform: |
Size: 2048 |
Author: ariuns |
Hits:
Description: 文档-视图架构是VC++应用开发中非常经典的模型,也是VC++开发人员必须掌握的技术。本示例是一个SDI应用,它包含了CObList集合类、自定义CStudent继承CObject类以实现序列化功能,即把学生对象放到集合中(Java中非常普遍的作法),然后把这个集合对象序列化。这个示例是非常具有实际意义的例子,销加修改就可以在实际中应用,比如OnOpenDocument(LPCTSTR lpszPathName)函数中进行反序列化操作,就可以恢复集合对象的状态。
Platform: |
Size: 2060288 |
Author: Arkliszeng |
Hits:
Description: 深入的讲解MFC。例如:MFC的编程框架、MFC与WIN32的关系、COBJECT类、消息映射的实现.....李久进MFC深入详解-In-depth explanation MFC. For example: MFC programming framework, MFC and WIN32 relationship, COBJECT type, message mapping implementation ..... a long time into the MFC-depth Xiang Jie Li
Platform: |
Size: 793600 |
Author: 邓峰 |
Hits:
Description: MFC教程网页版的讲的挺好的其中有CObject类,MFC和Win32等等,支持分享-MFC Tutorial Web version of the talk is quite good, which CObject class, MFC and Win32, etc., to support sharing
Platform: |
Size: 719872 |
Author: hurricane3 |
Hits:
Description: 了解C++ Object Model,是学习Component Object Model的最短路线。
如果你是一位C++程序员,渴望对于底层知识获得一个完整的了解,那么Inside The C++ Object Model正适合你-Learn C++ Object Model, Component Object Model is to learn the shortest route. If you are a C++ programmers, the underlying desire for a complete understanding of knowledge acquisition, then the Inside The C++ Object Model is for you
Platform: |
Size: 7803904 |
Author: zhouyongbing |
Hits:
Description: 个人学习单视图窗口分割时,做的一个小工具,功能是可以查阅、搜索《圣经》,之所以使用圣经,是因为它都是一节一节的,易于表达搜索结果,就用它来学习了。里面用到的东西有CTreeView、CHtmlView、还有我自己写的一个类型(AQGFile,派生与CObject仿照CStdioFile,用于一行行地读取资源文件中的“txt”文件)。之中还有许多我在网上找到的东西(如:不用Navigate直接操作CHtmlView的显示内容、TreeView的checkbox操作、获取资源库中的数据、多个view之间通信)-Too lazy to translate the discriptions, so I just leave this easy.
This is a small tool to navigate and search the Holly Bible.
Platform: |
Size: 32326656 |
Author: TwilightSun |
Hits:
Description: 创建运动员信息类,包含号码、姓名、出身年月、身高、体重、5个项目成绩、得分、总分和名次等信息,根据需要定义函数成员,完成程序功能,应派生自CObject类,并实现序列化操作;在文档类中添加表示库存书和已借出书的链表或数组(可用MFC的集合类),在文档类Serialize函数中实现序列化;通过菜单打开对话框,在对话框中实现报名、成绩输入和题目要求的查询功能并及时更新文档(用多个对话框);在视图类中输出查询结果;运动员信息可保存到文件并可读出。 -Create information class athletes, including the number, name, birth years, height, weight, 5 projects results, score, score and ranking and other information, according to the definition of the function members need to complete the program features should be derived from the CObject class, and to achieve sequence of operation in the document class book and added that stocks have been lent the book list or array (set of MFC classes available), the document class Serialize function to achieve serialization through the menu to open the dialog box, in the dialog box to achieve application, performance requirements input and questions and update the document search function (using multiple dialog) in the view class in the output query results player information can be saved to a file can be read.
Platform: |
Size: 2151424 |
Author: asdsdfd |
Hits:
Description: MFC深入浅出,1:mfc概述;2:mfc和win32;3:Cobject类;4:消息映射的实现;5:MFC对象的创建;6:应用程序的退出;-MFC layman
Platform: |
Size: 845824 |
Author: 咕咕叫 |
Hits:
Description: 写字板WinCE 上面开发的写字板,可以实现Windows上开发板的基本功能-wordpad CWnd CDialog CDataExchange MessageBeep EndDialog CFrameWnd SendMessage LoadString lstrlen lstrcpy CWinApp CString CCommandLineInfo CSingleDocTemplate ShowWindow UpdateWindow CDocument SetWindowText CEditView CDC CEdit CCmdUI GetWindowTextLength PostMessage CCreateContext GetFocus GetActiveWindow CPrintInfo GetDC GetTextMetrics ReleaseDC CRect GetWindowLong SetWindowLong CView CObject CMenu LoadMenu GetSubMenu GetParent TrackPopupMenu HideCaret ShowCaret
Platform: |
Size: 192512 |
Author: 涂正武 |
Hits:
Description: 一个静态的VC++窗体分割框架示例
一个静态的VC++窗体分割框架示例,另外还有一些图形绘制的功能,比如画直线、画矩形等。部分代码注释:储存形状控件的类别,衍生自CObject类别以便具备储存(Serialize)功能,声明GraphicObject为可Serialize的类别,将MyView设为friend类别,方便数据保存。-A segmentation framework example of a static VC++ form static VC++ form segmentation framework for example, in addition to drawing functions, such as drawing a straight line, draw a rectangle. Some of the code comments: store the type of shape control, derived from the CObject class in order to have the storage (the Serialize) functionality the statement GraphicObject can Serialize the class, to the MyView Make friend category, convenient to save data.
Platform: |
Size: 16384 |
Author: 王志坚 |
Hits: