Common File Dialogs

This is a discussion on Common File Dialogs within the Windows Programming forums, part of the Platform Specific Boards category; Is there anyway to make it so the user can select a folder instead of having to select a file? ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    112

    Question Common File Dialogs

    Is there anyway to make it so the user can select a folder instead of having to select a file? If not can someone link me to a non-mfc example of a tree-view control, folder browser?

    Thanks

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    SHBrowseForFolder

    I just glanced at this 'how-to' but it seems to be ok.

    Search google for more examples.

  3. #3
    Registered User
    Join Date
    Dec 2002
    Posts
    16

    Cool Solution

    There is an API function for selecting folders:

    SHBrowseForFolder

    This function can also be overloaded so that you can embed it into a dialog of your choice.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 04:39 AM
  2. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 10:54 AM
  3. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 09:19 PM
  4. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 10:57 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21