I made a listbox (standard with the LBS_STANDARD flag) and I sent the listbox the LB_DIR message (with params to put all files and directories in the listbox). Well, I got the listbox to have the filename strings in the listbox, but I need the listbox so when the user dblclicks the item, I get the filename. I would get the index of the click, and then get the string at the index, but that would only be the filename (e.g. "test.txt"). I want the path and file (e.g. "C:\folder\test.txt"). How would I do this with the listbox? Thanks...

Garfield