Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38)
Exchange Links About this site Links to us 
|
Access the 'recent docs'
This article has not been rated yet. After reading, feel free to leave comments and rate it.
Q:
How can I add a document that my application processed to the folder of 'recent documents'?
A:
Use the procedure SHAddToRecentDocs as shown in the code below.
 | |  | |
procedure Win95AddToRecentDocs(const Filename: string);
begin
SHAddToRecentDocs(SHARD_PATH, @Filename[1]);
end;
procedure Win95ClearRecentDocs;
begin
SHAddToRecentDocs(SHARD_PATH, nil);
end;
| |  | |  |
Comments:
|