Not sure what code Delphi has wrapped around a form to make it behave like
an MDI child, but to do it using WinAPI, you will need to use
CreateMDIWindow to create the child window and call DefMDIChildProc as the
default handler for all un-handled messages.

----- Original Message -----
From: "Neven MacEwan" <[EMAIL PROTECTED]>


> Hi
>
> I'm creating a form in a method of an ActiveX Library
> which is called by a VB MDI App. I have access to
> the hwnd of the MDI Parent form. Is it possible to make
> my form act like an MD Child?
>
> Thanks
>
>  Regards Neven
>  N.K. MacEwan B.E. E&E
>  Ph 649 621 0001
>  Fax 649 621 0400
>  [EMAIL PROTECTED]
>
> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to