CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: file dialog

  1. #1
    Guest

    file dialog

    hi,
    My problem is from file dialog i am not able to distingues between files and directory. GetFileName will give the last sected file
    even if i click on a directory. so i could not refresh my preview along with the selection in the list box.

    please suggest me suitable solution.

    thanks and regards
    dasaradh.
    mail : [email protected]



  2. #2
    Join Date
    May 1999
    Location
    Farnborough, Hants, England
    Posts
    710

    Re: file dialog

    I don't think CFileDialog cares about directories - when you click them it simply highlights or opens them. GetPathName() will return the full filespec of the selected file, including the directory, if that is of any help.



    --
    Jason Teagle
    [email protected]

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