Thread: Using OFN_ALLOWMULTISELECT

  1. #1

    Using OFN_ALLOWMULTISELECT

    How do I parse the string with the filenames if I use OFN_ALLOWMULTISELECT in the open file common dialog.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Click this.
    Go to the "Flags" section and read up on OFN_ALLOWMULTISELECT.

    gg

  3. #3
    [edit:] Ahh, problem solved.

    Cheers,
    Michael.
    Last edited by Mithoric; 11-28-2003 at 02:19 AM.

  4. #4
    Ok, well I thought I had it solved but alas I have come to the conclusion I have absolutely no idea about how I'm going to do this.

    Please, can someone post some code instead of a link to msdn? I've browsed msdn, visited 34 (exactly) websites from google and searched various forums with nothing to show for it, I even converted VB code for this into C as near as I could but still it doesn't work.

  5. #5
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  6. #6
    Yeah, I also continued my search and found http://www.angelfire.com/biz/rhamini...TricksOpenFile ..

    FIRST? What keywords did you use?

  7. #7
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    I can't remember exactly what I entered, but it was something like OFN_ALLOWMULTISELECT parse string.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  8. #8
    Doh, didn't try that combo.. .Ahh well the main thing is that I have it working.

Popular pages Recent additions subscribe to a feed