Last Modification: December 11, 1999

How do I get DlgDirList (LB_DIR) to show long filenames?

Unfortunately, DlgDirList() only displays long filenames under Windows NT. Under Win9x you only get short file names. It's probably easier to abandon DlgDirList() and write the code to fill the listbox using the Win32 APIs FindFirstFile(), FindNextFile(), and FindClose().