Results 1 to 2 of 2

Thread: How to Dynamically Create MDI Clients

  1. #1

    Thread Starter
    New Member
    Join Date
    May 1999
    Posts
    4

    Post

    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

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    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
    [email protected]
    [email protected]
    ICQ#: 51055819


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