lamoueste
Messages postés76Date d'inscriptionlundi 5 septembre 2005StatutMembreDernière intervention 3 juillet 2007
-
4 nov. 2005 à 16:17
cs_saifer
Messages postés115Date d'inscriptionsamedi 29 mars 2003StatutMembreDernière intervention19 décembre 2008
-
4 nov. 2005 à 23:14
pardon j'ai recuperer une fonction sur ce site pour parcourir des repertoires et j'aurai voulu savoir comment la modifier simplement pour parcourir des fichiers a la place :) merci d'avance :
//BROWSE FOLDER - Opens a browse folder dialog.
CString BrowseFolder()
{
bErr = false;
TCHAR path[MAX_PATH];
BROWSEINFO bi = { 0 };
bi.lpszTitle = ("All Folders Automatically Recursed.");
LPITEMIDLIST pidl = SHBrowseForFolder ( &bi );
if ( pidl != 0 )
{
// get the name of the folder and put it in path
SHGetPathFromIDList ( pidl, path );