Click to See Complete Forum and Search --> : file dialog


May 26th, 1999, 05:42 AM
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 : dasaradh@hotmail.com

Jason Teagle
May 26th, 1999, 09:15 AM
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.