CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    11

    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


  2. #2
    Join Date
    Jul 2000
    Posts
    43
    Hello,

    Even I have the same problem. Have you solved it?

    thanks

  3. #3
    Join Date
    Jul 2000
    Posts
    43
    Sorry, I found the solution. Inside the derived constructor, we have to mention

    m_ofn.hInstance = "the dll's name";

    then, it works

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured