The list of files of the given directory was necessary for me. I have written down, following: invoke SendMessage,hList1,LB_DIR,DDL_ARCHIVE+ DDL_DRIVES+DDL_DIRECTORY,ADDR Patn In result the list was filled by 8.3 format files (as in DOS). How to fill in the list by long names of files?
Posted on 2001-02-19 10:46:00 by Mike
Try to find files yourself using FindFirstFile/FindNextFile, and then use LB_ADDSTRING to add each filename.
Posted on 2001-02-19 12:05:00 by IGosha
As per MSDN lookup on MS's website, the LB_DIR returns short filenames under Win95. You'll need to use a FindFirstFile/ FindNextFile loop and/or use GetFullPathName on each entry, and use LB_ADDSTRING in your SendMessage statement.
Posted on 2001-02-20 05:33:00 by Q