CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2003
    Location
    Russia
    Posts
    2

    Unhappy Child dialog in DLL

    Hi everybody.
    Does anyone know how to export a child dialog from dynamically-linked DLL. I have a main dialog (in exe) with TabControl. I want my dll's create their own dialogs in that TabControl. CreateDialog() with handle of TabControl as parent window doesn't work Please let me know if someone knows how to realize that plugin-based application.

    Regards, Anton
    could be worse...

  2. #2
    Join Date
    May 2001
    Location
    Toronto
    Posts
    85
    I think you should add the following code to your DLL's OnInitInstance().....
    AFX_MANAGE_STATE(AfxGetStaticModuleState( ));
    If i am senseless and i could answer your question, i will.

  3. #3
    Join Date
    Mar 2003
    Location
    Russia
    Posts
    2
    I thought it's non-mfc forum. Pure API please.
    could be worse...

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