Make its parent the MDI form.

If you only have the handle use SetParent

HWND SetParent
(
  HWND hWndChild,       // handle of window whose parent is changing
  HWND hWndNewParent    // handle of new parent window
);

Stacey

> -----Original Message-----
> From: Neven MacEwan [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 30 January 2004 9:45
> To: DUG
> Subject: [DUG] Creating a MDI Child to a non Delphi MDI Parent
> 
> 
> 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