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?
Printable View
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?
Use FindFirstFile, FindNextFile and FindClose, or else CFileFind to search for files, and put the names in the list box.