CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    May 1999
    Posts
    14

    looking for a CFileDialog approach ...

    ... 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
    [email protected]



  2. #2
    Join Date
    May 1999
    Posts
    26

    Re: looking for a CFileDialog approach ...

    Hi!

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

    Santhosh



  3. #3
    Guest

    Re: looking for a CFileDialog approach ...

    you can use ::SHBrowseForFolder



  4. #4
    Join Date
    May 1999
    Posts
    156

    Re: looking for a CFileDialog approach ...

    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


  5. #5
    Join Date
    May 1999
    Location
    Sydney, Australia
    Posts
    420

    Re: looking for a CFileDialog approach ...

    Try,

    SHBrowseForFolder()

    Sally


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured