文件名称:ShortCut
-
所属分类:
- 标签属性:
- 上传时间:2014-05-29
-
文件大小:14.73kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
VC++为你的应用程序创建和删除快捷方式,添加开始菜单程序组菜单,这里首先利用OLE通过调用CoCreateInstance()函数建立一个IID_IShellLink实例,并同时得到其接口指针。利用这个接口指针可以对其各项属性进行设置。为了使这些信息以快捷方式的数据文件(*.lnk)格式保存起来,还需要从IID_IShellLink对象取得其 IID_IPersistFile接口指针,以便于调用其成员函数Save(),保存前面设置的信息。删除快捷方式就更简单些了,具体请参阅代码吧。-VC++ applications you create and delete a shortcut menu to add to the Start menu program group, where the first to use OLE to create a IID_IShellLink instance by calling CoCreateInstance () function, and also get their interface pointers. Using this interface pointer can be set to its various properties. In order to make these information shortcuts data files (*. Lnk) saved format, also need to be obtained from its IID_IPersistFile IID_IShellLink object interface pointer, in order to call its member function Save (), save the information previously set. Remove shortcuts even simpler, the specific code, please refer to it.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ShortCut/NameDlg.cpp
ShortCut/NameDlg.h
ShortCut/ReadMe.txt
ShortCut/res/ShortCut.ico
ShortCut/res/ShortCut.rc2
ShortCut/resource.h
ShortCut/ShortCut.cpp
ShortCut/ShortCut.dsp
ShortCut/ShortCut.dsw
ShortCut/ShortCut.h
ShortCut/ShortCut.rc
ShortCut/ShortCutDlg.cpp
ShortCut/ShortCutDlg.h
ShortCut/StdAfx.cpp
ShortCut/StdAfx.h
ShortCut/res
ShortCut
ShortCut/NameDlg.h
ShortCut/ReadMe.txt
ShortCut/res/ShortCut.ico
ShortCut/res/ShortCut.rc2
ShortCut/resource.h
ShortCut/ShortCut.cpp
ShortCut/ShortCut.dsp
ShortCut/ShortCut.dsw
ShortCut/ShortCut.h
ShortCut/ShortCut.rc
ShortCut/ShortCutDlg.cpp
ShortCut/ShortCutDlg.h
ShortCut/StdAfx.cpp
ShortCut/StdAfx.h
ShortCut/res
ShortCut
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
