What you have described occurs with all dialog boxes, DLL or not.

Press Alt-Tab to get back to where you want to be.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Alex Kouznetsov
> Sent: Monday, 6 August 2001 16:02
> To: Multiple recipients of list delphi
> Subject: [DUG]: Forms in DLL (again?)
> 
> 
> I have a DLL with the dialog box in it.
> I am creating that box as TForm1.Create (Application) and then do 
> ShowModal.
> Application object inside DLL seems to be pointing to the calling
> application. It holds the title and the path of calling exe.
> 
> If I have that DLL box on top of my application, and then activate my
> application by clicking its button on W2K task bar, DLL box goes 
> behind the
> application window, which in turn becomes unusable as focus at 
> that stage is
> still kind of on the vanished DLL box.
> 
> Any ways around it ?
> 
> Regards
> Alex
> 
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to