dialog box for entering the system path....
-
-
In my application, i need to open a dialog box which will input a path(i.e C:\xyz, etc) from the user. How do i do it. How do i detect that whatever the user had input is a valid path or not? is there any existing file dialog that supports this?
I think you seacrhing for CFileDialog this will solve you r problem,for reference see MSDN abt CFileDialog ----------------------------- "I Think It will Work" Formerly Known As "Alok The Programmer" at CP ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk
-
In my application, i need to open a dialog box which will input a path(i.e C:\xyz, etc) from the user. How do i do it. How do i detect that whatever the user had input is a valid path or not? is there any existing file dialog that supports this?
I think you want a select folder dialog box. This can be done using the SHBrowseForFolder api function. See http://www.codeproject.com/shell/cxsbrowsefolder.asp for a class that encapsulates this function