Click to See Complete Forum and Search --> : looking for a CFileDialog approach ...


craig knutson
May 7th, 1999, 03:44 PM
... to getting a "path".

with CFileDialog it seems you have to select a file. i would like to use a CFileDialog type of dialog just to let a person select a path.

is there a common control for doing that?

thanks much!

craigk
ckutson@flash.net

scp
May 7th, 1999, 10:22 PM
Hi!

Why don't you use a directory picker dialog? Code is available in this site itself...

Santhosh

May 9th, 1999, 10:39 PM
you can use ::SHBrowseForFolder

Will Rothwell
May 10th, 1999, 02:19 AM
Hi,

I presume you have the CFileDialog working, what I did was to set the file filter as "*..*"; I picked this up from this site. An obviously wrong but simple way to filter ALL files, but it serve the purpose.

Hope this helps,

Will

sally
May 10th, 1999, 02:41 AM
Try,

SHBrowseForFolder()

Sally

Sally
May 10th, 1999, 02:41 AM
Try,

SHBrowseForFolder()

Sally