|
-
March 8th, 2003, 07:03 AM
#1
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...
-
March 10th, 2003, 02:52 AM
#2
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.
-
March 10th, 2003, 07:26 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|