Onko tämmönen monivalintajuttu commondialogin ikkunaa käyttäen mahdollista jotenki? jos on niin kertoisitteko miten? Olis aika tarpeellinen tohon mun soittimeen.
Veikkaisinpa että OFN_ALLOWMULTISELECT-flägillä (&H200) moinen onnistuu.
Tällöin ne luetaan nollatavuilla erotettuna, vaikka split()in avulla.
MSDN kirjoitti:
If the OFN_ALLOWMULTISELECT flag is set and the user selects multiple files, the buffer contains the current directory followed by the file names of the selected files. For Explorer-style dialog boxes, the directory and file name strings are NULL separated, with an extra NULL character after the last file name. For old-style dialog boxes, the strings are space separated and the function uses short file names for file names with spaces.
Aihe on jo aika vanha, joten et voi enää vastata siihen.