Re:Directory Select Dialog Box?
"Michael K. Martin" <marti...@sprynet.com> wrote:
Quote
>I'm replying to my own message to publicly thank David Lederman for
>pointing out the SelectDirectory function for me. It solved my problem
>perfectly.
Well, not if you want to use a common dialog as you said earlier. The
SelectDirectory is just a form that is common to Delphi, not to the system.
Win16 doesn't have a common dialog for directory selection, but Win32 does.
SHBrowseForFolder is the API, but it requires a lot of setup to use it. I
have written a component wrapper for it (freeware w/ source). If you want
to have a look at it, you can find it on my web site (URL in sig), look for
TBrowseDirectory.
Regards,
Brad
Free Delphi Stuff: http://www.pobox.com/~bstowers/delphi/
bstow...@pobox.com (My return address is intentionally invalid; delete ".Remove-This-Spam-Blocker" for real address)