4

How can I add an item to the Places Bar on the left side of a standard file dialog box (TOpenDialog), where there are usually "Desktop", "My Computer", "My Documents", "My Network", etc.?

Still a question how therefrom to clean standard buttons and whether it is possible to make it?

picture of a Windows XP open dialog

Community
  • 1
  • 1
Gu.
  • 1,947
  • 4
  • 30
  • 49

1 Answers1

4

There's an article by Fikret Hasovic here: http://fhasovic.blogspot.com/2004/09/custom-places-bar.html that links to the MSDN article on it, and he provides Delphi code to download.

lkessler
  • 19,819
  • 36
  • 132
  • 203
  • 3
    Nothing might work on Windows 7. As Andreas said in his comment, the Places Bar has been removed from Vista and Windows 7. They could have removed support for it completely. You might have to check for Windows 7 and if so, use the Windows 7 File Dialog Box instead. See: http://stackoverflow.com/questions/1268178/how-to-check-in-delphi-the-os-version-windows-7-or-server-2008-r2 – lkessler May 27 '11 at 03:51
  • On a Win7 installation patched to 2020-01-02 the left "places" pane can still be configured flawlessly. [Archive.org copy](https://web.archive.org/web/20070825003235/http://msdn.microsoft.com/msdnmag/issues/03/03/CuttingEdge/default.aspx) of the original article. – AmigoJack Sep 16 '21 at 18:56