1. Home
  2. Computing & Technology
  3. Delphi Programming

Add documents to the Windows Start-Documents Menu

By Zarko Gajic, About.com

If you would like to add documents to the new "Start-Documents" menu that was added with the creation of Windows, use the following function. Be sure to add ShellAPI and ShlOBJ to your uses clause.

~~~~~~~~~~~~~~~~~~~~~~~~~
procedure AddtoDocMenu(fName : String) ;
begin
   SHAddToRecentDocs(SHARD_PATH, PChar(fName)) ;
end;
~~~~~~~~~~~~~~~~~~~~~~~~~

Delphi tips navigator:
» Making a transparent form
« Delete files with the ability to UNDO

Zarko Gajic
Guide since 1998

Zarko Gajic
Delphi Programming Guide

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Coding Delphi Applications
  5. Delphi Tips and Tricks
  6. 1999 Delphi Tips
  7. Add documents to the Windows Start-Documents Menu

©2009 About.com, a part of The New York Times Company.

All rights reserved.