CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2022

    CFolderPickerDialog Question

    Hi there,
    My question: is there a way to make CFolderPickerDialog to show the list of files, not only folders from a certain location on disk?
    I have tried and made a lot of debugging stuff, but no solution found so far.
    Thank you for your attention.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    Re: CFolderPickerDialog Question

    I never used CFolderPickerDialog, so can only guess.
    Try to set the CFolderPickerDialog m_bPickFoldersMode member to FALSE.

    If it won't help then use SHBrowseForFolderA function with setting flag BIF_BROWSEINCLUDEFILES in the BROWSEINFO structure.
    Victor Nijegorodov

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