A question about CFileDialog! ! ! ! ! ! !

X

xhy_China

Hello,everyone. I have encountered a problem about CFileDialog
tonight.
First, i create a CFileDialog instance and run it(Do Modal).
Then,i select a folder and press button Ok. Now i want to get the path
of the folder i selected. So I hope to use the function
GetFolderPath,but error have occured . I don't Know what's wrong! Who
can tell me? ? How can I get the folder Path from CFileDialog? ? ?
Thx for your replies! ! ! ! !
 
G

Gavin Deane

xhy_China said:
Hello,everyone. I have encountered a problem about CFileDialog
tonight.
First, i create a CFileDialog instance and run it(Do Modal).
Then,i select a folder and press button Ok. Now i want to get the path
of the folder i selected. So I hope to use the function
GetFolderPath,but error have occured . I don't Know what's wrong! Who
can tell me? ? How can I get the folder Path from CFileDialog? ? ?
Thx for your replies! ! ! ! !

It seems to be International MFC day today around here.

Please see this FAQ for suggestions for an appropriate place to ask
your question. It's not a C++ language question so comp.lang.c++ can't
help you.

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9

Gavin Deane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top