文件名称:MruFileTest
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:49.97kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
VC++的MFC对最近文件进行了包装,它使用户无需编写任何代码就可实现最近文件菜单。但这种方法也有缺陷:
①用户程序必须使用文档、视图结构,只能利用它提供的文档打开和保存文件,如果你使用自己编写的函数打开和保存文件,绕过了它的文档,则最近文件将无法使用。
②这种最近文件保存在注册表中,不易清除,容易形成注册表中垃圾,也没有提供用户清除最近文件的权利,不利于用户隐私的保护。
用ini文件实现最近文件可以解决上述问题,而且用编程控制MRU更灵活,可以提供更多功能-VC++ the MFC recent documents and packaging, which allows users without writing any code can achieve the File menu. This method is also flawed: ① user program must use the document view architecture, only use it to provide documents to open and save files, if you are using to write your own functions to open and save files, bypassing the document, the recent The file will not be used. ② this file is saved in the registry, difficult to remove, easy formation of the garbage in the registry and did not provide the user the right to clear recent files, is not conducive to the protection of user privacy. Ini files recent documents can solve the above problems, and more flexible programming control MRU can provide more functionality
①用户程序必须使用文档、视图结构,只能利用它提供的文档打开和保存文件,如果你使用自己编写的函数打开和保存文件,绕过了它的文档,则最近文件将无法使用。
②这种最近文件保存在注册表中,不易清除,容易形成注册表中垃圾,也没有提供用户清除最近文件的权利,不利于用户隐私的保护。
用ini文件实现最近文件可以解决上述问题,而且用编程控制MRU更灵活,可以提供更多功能-VC++ the MFC recent documents and packaging, which allows users without writing any code can achieve the File menu. This method is also flawed: ① user program must use the document view architecture, only use it to provide documents to open and save files, if you are using to write your own functions to open and save files, bypassing the document, the recent The file will not be used. ② this file is saved in the registry, difficult to remove, easy formation of the garbage in the registry and did not provide the user the right to clear recent files, is not conducive to the protection of user privacy. Ini files recent documents can solve the above problems, and more flexible programming control MRU can provide more functionality
(系统自动生成,下载前可以参看下载内容)
下载文件列表
codefans.net/MruFileTest/MruFileTest/MainFrm.cpp
codefans.net/MruFileTest/MruFileTest/MainFrm.h
codefans.net/MruFileTest/MruFileTest/MruFile.cpp
codefans.net/MruFileTest/MruFileTest/MruFile.h
codefans.net/MruFileTest/MruFileTest/MruFileTest.clw
codefans.net/MruFileTest/MruFileTest/MruFileTest.cpp
codefans.net/MruFileTest/MruFileTest/MruFileTest.dsp
codefans.net/MruFileTest/MruFileTest/MruFileTest.dsw
codefans.net/MruFileTest/MruFileTest/MruFileTest.h
codefans.net/MruFileTest/MruFileTest/MruFileTest.rc
codefans.net/MruFileTest/MruFileTest/MruFileTestDoc.cpp
codefans.net/MruFileTest/MruFileTest/MruFileTestDoc.h
codefans.net/MruFileTest/MruFileTest/MruFileTestView.cpp
codefans.net/MruFileTest/MruFileTest/MruFileTestView.h
codefans.net/MruFileTest/MruFileTest/res/MruFileTest.ico
codefans.net/MruFileTest/MruFileTest/res/MruFileTest.rc2
codefans.net/MruFileTest/MruFileTest/res/MruFileTestDoc.ico
codefans.net/MruFileTest/MruFileTest/res/Toolbar.bmp
codefans.net/MruFileTest/MruFileTest/resource.h
codefans.net/MruFileTest/MruFileTest/StdAfx.cpp
codefans.net/MruFileTest/MruFileTest/StdAfx.h
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/black.GIF
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/block.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/dabao.jpg
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/f2.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/f3.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/fl.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/icon1.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/main_01.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/main_02.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/main_03.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/pic_002.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/type.css
codefans.net/MruFileTest/用ini文件实现最近文件MRU.htm
codefans.net/MruFileTest/MruFileTest/res
codefans.net/MruFileTest/MruFileTest
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files
codefans.net/MruFileTest
codefans.net
codefans.net/MruFileTest/MruFileTest/MainFrm.h
codefans.net/MruFileTest/MruFileTest/MruFile.cpp
codefans.net/MruFileTest/MruFileTest/MruFile.h
codefans.net/MruFileTest/MruFileTest/MruFileTest.clw
codefans.net/MruFileTest/MruFileTest/MruFileTest.cpp
codefans.net/MruFileTest/MruFileTest/MruFileTest.dsp
codefans.net/MruFileTest/MruFileTest/MruFileTest.dsw
codefans.net/MruFileTest/MruFileTest/MruFileTest.h
codefans.net/MruFileTest/MruFileTest/MruFileTest.rc
codefans.net/MruFileTest/MruFileTest/MruFileTestDoc.cpp
codefans.net/MruFileTest/MruFileTest/MruFileTestDoc.h
codefans.net/MruFileTest/MruFileTest/MruFileTestView.cpp
codefans.net/MruFileTest/MruFileTest/MruFileTestView.h
codefans.net/MruFileTest/MruFileTest/res/MruFileTest.ico
codefans.net/MruFileTest/MruFileTest/res/MruFileTest.rc2
codefans.net/MruFileTest/MruFileTest/res/MruFileTestDoc.ico
codefans.net/MruFileTest/MruFileTest/res/Toolbar.bmp
codefans.net/MruFileTest/MruFileTest/resource.h
codefans.net/MruFileTest/MruFileTest/StdAfx.cpp
codefans.net/MruFileTest/MruFileTest/StdAfx.h
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/black.GIF
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/block.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/dabao.jpg
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/f2.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/f3.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/fl.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/icon1.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/main_01.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/main_02.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/main_03.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/pic_002.gif
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files/type.css
codefans.net/MruFileTest/用ini文件实现最近文件MRU.htm
codefans.net/MruFileTest/MruFileTest/res
codefans.net/MruFileTest/MruFileTest
codefans.net/MruFileTest/用ini文件实现最近文件MRU.files
codefans.net/MruFileTest
codefans.net
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.