-
Question on CFileDialog
Hi,
I created a dll that generates a dialog box based on CFileDialog. When I set the Flags parameter in CFileDialog to OFN_ENABLETEMPLATE, my dll does not work. I tested the dll by creating an executable file that calls the dll...the dialog would not open. Does anybody know why ?
Thanx in advance.
mc
-
Hello,
Even I have the same problem. Have you solved it?
thanks
-
Sorry, I found the solution. Inside the derived constructor, we have to mention
m_ofn.hInstance = "the dll's name";
then, it works