I'm always uneasy about stopping things (in this case stopping the parent having focus) but I guess you could have a boolean state in the parent form to check if it has been glued upon by a child form. Then in the formactivate event of the parent form, you set focus to the child window (and if it a separate exe then that will be an api call).
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Comb
Sent: Monday, December 06, 1999 10:16 AM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: multiple apps.

Chris that half does what I want, thanks heaps.
 
The other half is making it so that the client window does not/cannot lose focus to the main window.
 
Any thoughts?
 
Cheers,
 
Matt.
 
----- Original Message -----
Sent: Friday, December 03, 1999 4:48 PM
Subject: RE: [DUG]: multiple apps.

see the api calls findwindow() and setparent()
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Comb
Sent: Friday, December 03, 1999 5:05 PM
To: Multiple recipients of list delphi
Subject: [DUG]: multiple apps.

Is it possible to have a program load another programs mainform in as an child window of its own? Can this be done the other way around from the second programs point of view, or is there another way you can dynamically load forms without them having to be part of that same development project as ours all up is 1gb large.
 
Cheers,
 
Matt.

Reply via email to