-
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
-
I think you should add the following code to your DLL's OnInitInstance().....
AFX_MANAGE_STATE(AfxGetStaticModuleState( ));
-
I thought it's non-mfc forum. Pure API please.