得到最近访问过的文档列表

时间:2010-02-01 13:18:49  来源:第二电脑网  作者:第二电脑网

  第二电脑网导读:bordercolor="#d0a070" cellspacing="0" bordercolordark="#ffffff" cellpadding="5" width="99%" bgcolor="#ffffc0" border="1">// use these pascal procedures or call SHAddToRecentDocs directlyprocedure Win95AddToRecentDocs(const Filename: string);begin  SHAddToRecentDocs(SHARD_PATH, @Filename[1]);...
  正文:Problem/Question/Abstract:

How can I add a document that my application processed to the folder of recent documents?

Answer:

Use the procedure SHAddToRecentDocs as shown in the code below.


// use these pascal procedures or call SHAddToRecentDocs directly

procedure Win95AddToRecentDocs(const Filename: string);
begin
  SHAddToRecentDocs(SHARD_PATH, @Filename[1]);
end;

procedure Win95ClearRecentDocs;
begin
  SHAddToRecentDocs(SHARD_PATH, nil);
end;

得到最近访问过的文档列表》由第二电脑网原创提供,转载请注明:http://www.002pc.com/master/College/Language/Delphi/12711.html


关键字:

关于《得到最近访问过的文档列表》文章的评论

站内搜索: 高级搜索

热门搜索: Windows style 系统 tr IP QQ CPU 安装 function 注册 if td