Add ShlObj to the uses of your application. Place a TButton on a form. In the Button1.OnClick event place the following code:
procedure TForm1.Button1Click(Sender: TObject);
begin
SHAddToRecentDocs(SHARD_PATH, nil);
end;
Last Modified: 05-FEB-02