bdn.borland.com

Article #28330: How to clear the document listing found in the Windows Start Menu.

QUESTION:


How can one clear the document listing found in the Windows Start Menu?


ANSWER:


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