MFC序列化

  • o4_214623
    了解作者
  • 3.6MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-28 10:06
    上传日期
1.利用MFC向导建立基于视图的MFC应用程序框架。 2.追加WM_KEYDOWN、WM_CHAR消息影射函数确认两种函数的区别。 3.在Serialize()函数中添加适当的编码确认序列化的使用方法。 4.参照课件在OnDraw()函数里添加代码熟悉CDC主要函数的用法及画笔、画刷等工具的创建和使用方法。 5.下载“VC++上机练习.doc”文件,根据各自的情况进行练习。 6.最后提交上述练习中使用的任意一个项目。
MFC.rar
  • 01147030刘江虹07
  • MFCProject07
  • t1.txt
    13B
  • MFCProject07.rc
    10.4KB
  • Resource.h
    500B
  • MFCProject07View.cpp
    4.4KB
  • res
  • MFCProject07Doc.ico
    1.1KB
  • MFCProject07.ico
    1.1KB
  • Toolbar.bmp
    1.1KB
  • MFCProject07.rc2
    404B
  • MFCProject07.h
    1.4KB
  • MFCProject07.clw
    2.3KB
  • MFCProject07.ncb
    89KB
  • MFCProject07.dsp
    4.6KB
  • MFCProject07Doc.cpp
    2KB
  • MFCProject07Doc.h
    1.5KB
  • test.txt
    0B
  • MFCProject07.aps
    28KB
  • StdAfx.cpp
    214B
  • MainFrm.cpp
    2.5KB
  • MFCProject07View.h
    2.2KB
  • MFCProject07.dsw
    530B
  • MainFrm.h
    1.5KB
  • StdAfx.h
    1KB
  • MFCProject07.cpp
    4.2KB
  • t.txt
    13B
  • MFCProject07.opt
    47.5KB
  • Debug
  • StdAfx.obj
    102.9KB
  • MFCProject07View.obj
    30.1KB
  • MFCProject07.pch
    5.2MB
  • MFCProject07.exe
    116.1KB
  • MFCProject07.res
    7.2KB
  • MFCProject07.ilk
    310.3KB
  • MFCProject07.obj
    22.5KB
  • vc60.idb
    201KB
  • vc60.pdb
    364KB
  • MainFrm.obj
    19.2KB
  • MFCProject07.pdb
    497KB
  • MFCProject07Doc.obj
    17KB
  • text.txt
    0B
  • MFCProject07.plg
    779B
  • ReadMe.txt
    4.4KB
  • homework
  • homework.dsw
    522B
  • homework.dsp
    4.1KB
  • homeworkDlg.cpp
    4.4KB
  • homework.cpp
    2KB
  • res
  • homework.rc2
    400B
  • homework.ico
    1.1KB
  • homeworkDlg.h
    1.3KB
  • homework.clw
    1.3KB
  • homework.opt
    47.5KB
  • homework.ncb
    57KB
  • StdAfx.cpp
    210B
  • resource.h
    778B
  • homework.h
    1.3KB
  • StdAfx.h
    1KB
  • homework.plg
    538B
  • homework.rc
    5.4KB
  • Debug
  • StdAfx.obj
    102.9KB
  • homework.obj
    13.3KB
  • homeworkDlg.obj
    24.5KB
  • homework.exe
    104.1KB
  • homework.pch
    5.2MB
  • vc60.idb
    193KB
  • homework.ilk
    191.4KB
  • homework.pdb
    361KB
  • vc60.pdb
    356KB
  • homework.res
    2.6KB
  • homework.aps
    20.4KB
  • ReadMe.txt
    3.5KB
内容介绍
======================================================================== MICROSOFT FOUNDATION CLASS LIBRARY : MFCProject07 ======================================================================== AppWizard has created this MFCProject07 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 MFCProject07 application. MFCProject07.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. MFCProject07.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CMFCProject07App application class. MFCProject07.cpp This is the main application source file that contains the application class CMFCProject07App. MFCProject07.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++. MFCProject07.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\MFCProject07.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file MFCProject07.rc. res\MFCProject07.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 MFCProject07.rc to add toolbar buttons. ///////////////////////////////////////////////////////////////////////////// AppWizard creates one document type and one view: MFCProject07Doc.h, MFCProject07Doc.cpp - the document These files contain your CMFCProject07Doc class. Edit these files to add your special document data and to implement file saving and loading (via CMFCProject07Doc::Serialize). MFCProject07View.h, MFCProject07View.cpp - the view of the document These files contain your CMFCProject07View class. CMFCProject07View objects are used to view CMFCProject07Doc objects. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named MFCProject07.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. /////////////////////////////////////////////////////////////////////////////
评论
    相关推荐