BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Directory Selection Dialog

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Matthew Kemmerer
Guest





PostPosted: Fri Jul 29, 2005 7:59 pm    Post subject: Directory Selection Dialog Reply with quote



I'm not sure where to post this question so I'll try here. I'm trying to
write a program that requires a user to select a directory. I'd like to
have some sort a dialog pop up and prompt the user but all I can find in
the IDE are dialogs that allow a user to select individual files, not
whole directories. Does anyone know a dialog type that will allow me to
select directories?

Thanks,
Matt
Back to top
Jonathan Benedicto
Guest





PostPosted: Fri Jul 29, 2005 8:11 pm    Post subject: Re: Directory Selection Dialog Reply with quote



"Matthew Kemmerer" <kemmererm (AT) washnet (DOT) com> wrote

Quote:
I'm not sure where to post this question so I'll try here. I'm trying to
write a program that requires a user to select a directory. I'd like to
have some sort a dialog pop up and prompt the user but all I can find in
the IDE are dialogs that allow a user to select individual files, not
whole directories. Does anyone know a dialog type that will allow me to
select directories?

Look at SelectDirectory.

HTH

Jonathan



Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Fri Jul 29, 2005 8:14 pm    Post subject: Re: Directory Selection Dialog Reply with quote




"Matthew Kemmerer" <kemmererm (AT) washnet (DOT) com> wrote


Quote:
I'm not sure where to post this question so I'll try here. I'm
trying to write a program that requires a user to select a directory.

This is not an IDE issue. This group is for discussions related to use of
the IDE itself. Coding issues should be directed to the
"borland.public.cppbuilder.language.cpp" group for C++-specific questions,
"borland.public.cppbuilder.vcl.components.using" group for VCL-specific
questions, and the "borland.public.cppbuilder.nativeapi" group for Win32
API-specific questions.

Quote:
I'd like to have some sort a dialog pop up and prompt the user but all I
can find in
the IDE are dialogs that allow a user to select individual files, not
whole directories.

The VCL has a SelectDirectory() function, and the Win32 API has a
SHBrowseForFolder() function.


Gambit



Back to top
Matthew Kemmerer
Guest





PostPosted: Fri Jul 29, 2005 8:23 pm    Post subject: Re: Directory Selection Dialog Reply with quote

Sorry for posting to the wrong group.
Thanks for the help though. That function works perfectly.
-Matt
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.