共用方式為


CWindow::DlgDirList

Fills a list box with the names of all files matching a specified path or file name.

int DlgDirList( 
   LPTSTR lpPathSpec, 
   int nIDListBox, 
   int nIDStaticPath, 
   UINT nFileType  
) throw();

Remarks

See DlgDirList in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::DlgDirListComboBox

CWindow::DlgDirSelect

CWindow::DlgDirSelectComboBox