To add a document to the Windows 95 Start Button's documents  

Send By: Q3 Team
Web : http://www.q3.nu
Email: dlib@q3.nu
Date: 02/07/99

Tip accessed 72 times

 


Using the Shell function SHAddToRecentDocs

Example:

Add 'ShlOBJ' in the uses of your form


                  procedure TForm1.Button1Click(Sender: TObject);
                  var
                     s : string;
                  begin
                     s := 'C:\Directorio\fichero.xxx';
                     SHAddToRecentDocs(SHARD_PATH, pChar(s));
                  end;