Access the recent documents (Views: 300)
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; |