Click to See Complete Forum and Search --> : How to solve the long filename/path in ListBox?


Peng Xi
March 28th, 1999, 08:48 PM
I use ListBox function Dir(...) in VC5.0,but it display a short path/filename. How to solve this problem to display long path/filename?

Jerry Coffin
March 29th, 1999, 01:48 AM
Use FindFirstFile, FindNextFile and FindClose, or else CFileFind to search for files, and put the names in the list box.