CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - MFC t
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - MFC t - List
[
File Operate
]
AutoSaveDoc
DL : 0
The sample demonstrate how to save document automatically . The demo is from <<MFC anwser book>>-The sample demonstrate how to save <http://www.un.org/arabic/documents/SCCom t automatically. The demo is from
Date
: 2008-10-13
Size
: 22.55kb
User
:
曾晖
[
File Operate
]
AutoSaveDoc
DL : 0
The sample demonstrate how to save document automatically . The demo is from <<MFC anwser book>>-The sample demonstrate how to save <http://www.un.org/arabic/documents/SCCom t automatically. The demo is from
Date
: 2025-12-20
Size
: 22kb
User
:
曾晖
[
File Operate
]
MiniCAD
DL : 0
在MFC中,文档类负责管理数据,提供保存和加载数据的功能。视图类负责数据的显示,以及给用户提供对数据的编辑和修改功能。 MFC给我们提供Document/View结构,将一个应用程序所需要的“数据处理与显示”的函数空壳都设计好了,这些函数都是虚函数,我们可以在派生类中重写这些函数。有关文件读写的操作在CDocument的Serialize函数中进行,有关数据和图形显示的操作在CView的OnDraw函数中进行。我们在其派生类中,只需要去关注Serialize和OnDraw函数就可以了,其它的细节我们不需要去理会,程序就可以良好地运行. -L in MFC, document class responsible for the management of the data, provide save and load the function of the data. View class responsible for data display, and offer users to edit the data and modify functions. MFC provide us with Document/View to structure, an application needs "data processing and display" shell designed all function, these functions are virtual function, we can in the derived class rewrite these functions. The relevant documents in the operation of the reading and writing in the CDocument Serialize function, the relevant data and graph showing the operation in the CView OnDraw function. We in the derived class, only need to pay attention to Serialize and OnDraw function, other details we don t need to pay attention to, program can good operation
Date
: 2025-12-20
Size
: 5.06mb
User
:
李俊炎
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.