You can query the edit box to see what the user entered.
At 9/11/2003 02:46 PM, Jason Teagle wrote:
>> CFileDialog requires a path to open a file.
>>
>> You already have the path.
>
>He's not talking about the path that CFileDialog starts in, he's talking
>about the path that the USER chooses from that CFileDialog, which he tries
>to retrieve using GetPathname() afterwards.
>
>If they choose a .LNK file, CFileDialog will not return the name and path of
>the .LNK file - instead it will return the name and path of the file that
>the .LNK file was a shortcut to - this is what he said in the first place.
>
>I believe he is hoping to get information on the .LNK file the user actually
>chose, which is transparent as far as CFileDialog is concerned.
>
>--
>Jason Teagle
>[EMAIL PROTECTED]
Phil Daley < AutoDesk >
http://personal.monad.net/~p_daley
