Simple CFileDialog Question
Posted on 1997-02-27
I have a stupid question, here it goes:
I am calling a CFileDialog dialog from another dialog, wanting it to let the user pick a file to open. I am getting an error about the *pParentWnd arg.
Here is roughly what I am doing:
But VC coughs up a lung on the keyword "this", saying it can't convert a const * CMyApp to CWnd *.
What am I doing wrong?
P.S. A short fragment that had the right idea would help. :)