Главная страница | назад





Article #15795: Adding a document to the Windows 95 Start Button's documents

 Question and Answer Database
FAQ795D.txt Adding a document to the Windows 95 Start Button's documents
Category :Windows API
Platform :All
Product :All 32 bit
Question:
How can I add a document to the Windows 95 Start Button's
documents menu?
Answer:
Use the Shell function SHAddToRecentDocs.
Example:
uses ShlOBJ;
procedure TForm1.Button1Click(Sender: TObject);
var
s : string;
begin
s := 'C:\DownLoad\ntkfaq.html';
SHAddToRecentDocs(SHARD_PATH, pChar(s));
end;
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99