PDA

Click to See Complete Forum and Search --> : How to Dynamically Create MDI Clients


ErikKratz
Nov 11th, 1999, 08:59 PM
I have a ActiveX DLL component that contains a standard Form. I want to make this form a MDI_Child in my main project. It is not possible by simply setting the From MDIChild property to TRUE. I've tried some stuff with the SetParent API. This solves a bit of the problem, but the behaviour of the form is not quiet like a regular MDI_Child.

Does anybody has a working solution.

Thanks,

Erik Kratz

Serge
Nov 12th, 1999, 12:56 AM
The best way is to have atleast one form setup as a Child. Then you can create as many form as you want using that form.



Dim frm As New frmChild

frmChild.Show


Regards,

------------------

Serge

Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com
ICQ#: 51055819 (http://www.icq.com/51055819)