Click to See Complete Forum and Search --> : Dialogue Box to change Directory


Kacem
March 29th, 1999, 03:12 AM
Hi


Is it any Dialogue Box to change a Directory?.

Like CFileDialog, but this Dialogue Box is for opening or closing file, We want just to change a directory.


Tnanks

Daren Chandisingh
March 29th, 1999, 04:26 AM
Why do you need a dialog box for this? If you are asking a user for a directory but not mentioning a file with it then you are probably guilty of breaking the supposed document-centred view of Windows 95/98. If you really don't need or want a filename associated then knock up your own directory selection dialog. The CWnd class has a helpful method that will help you fill the lists with useful data: CWnd::DlgDirList



Alternativley, go to http://www.codeguru.com/dialog/index.shtml and you will find the following:



Dialog for selecting folders




CFileDialog class that only displays folders - Mihai Filimon (1998/08/07)

Directory Picker Dialog - Venkat Gopala (1998/08/07)

Class to select directory - Girish Bharadwaj (1998/09/01)

Class to select directory (Enhancements) - Vladimir Kvashin (1998/09/01)

MFC Wrapper for SHBrowseForFolder - Kenneth M. Reed (1999/02/03)

[/list]