From: Hector Santos on
Mikel wrote:

> Thanks for all the info. It seems there is no straightforward way to
> do what I want. I'll check your suggestions when I have a little more
> time. Right now, the urgent thing is to read the file properly.
> Thanks again


Actually it is very easy using DlgDirList()

// List *. files with no directories in d: drive

TCHAR path[_MAX_PATH] = _T("d:\\*.");
DlgDirList(path,IDC_LISTDIR, IDC_STATICPATH, 0);


where IDC_LISTDIR is a LIST BOX control id, and IDC_STATICPATH is a
static label.

--