|
-
Apr 2nd, 2003, 12:00 PM
#1
Thread Starter
New Member
Active X and MDI
I have a MDI parent form in and Standard Exe application. And i tried to add a MDI child form in an Active X DLL.
When the Dll tried to show the MDI child it send the message :
"No MDI form available to Load"
So i need to know a way to add MDI childs to a Active X DLL. Or to a Active X exe.
Please could anyone help me?
Thanks.
-
Apr 3rd, 2003, 10:40 PM
#2
Why not design an activex control as you would do with a form, and have one MDIChild form in the main executable project.
Then, when it comes time to load your new control, just create a new instance of the MDI child form, and add your control to it via Controls.Add().
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 4th, 2003, 05:46 AM
#3
Thread Starter
New Member
I know how to do this, but...
Well im building a more than 20 MB final exe, and i try to break it in diferent components.
Nothing as several DLLs to following upgrades.
Else the hard implementation of some modules in VC++ asked as to build the diferent windows in Visual Basic.
The modules need an easy code, and an easy debug.
I don't mind OCX, but they tend to obscure code for beginners, and im not the only one here.
I need to implement it on DLLs or keep the standard exe only with windows, moving the code then to DLLs. Id prefer to know how to move MDI childs to dlls.
Could you help me?
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
|