- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Adding a document to the Windows 95 Start Button's documents

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;



* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile