CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    13

    Dialogue Box to change Directory



    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

  2. #2
    Join Date
    Apr 1999
    Posts
    32

    Re: Dialogue Box to change Directory



    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:lgDirList



    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]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured