Hello All,
        Our program is currently suffering a similar problem that which
Rohit and Neven have observed. In our case minimizing the application
when a modal form is at the front means that when we return to the app,
the modal form is behind, and thus can't be closed. TO recover it we
need to alt-Tab back to the application. I have searched Google and only
come up with one solution, but it doesn't work for me because it seems
specific to forms created on DLLs.

www.delphicollection.com/public/Digests/DN1947.shtml#23

I can't get it to work because our form's handle is read only, and this
solution relies on being able to set the DLL's handle to that of the
application.

Has anyone here found a solution to this that I could apply?

Cheers,
        Craig



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Patrick Dunford
Sent: Thursday, 28 March 2002 1:15 a.m.

Seems to be a bug in, is it Delphi, or Windows? 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Rohit Gupta
> Sent: Thursday, 28 March 2002 00:29
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: modal form not in front
> 
> 
> Its a common occurrence.... cant make the users understand of course.
> Alt-tab usually (not always) fixes it.
> 
> It usually happens on change of focus (and not only on between
> applications).
> 
> I havent had time to chase it up to find a solution... its about 
> number 4 in
> my list of stupid windows bugs to fix.
> 
> ----- Original Message -----
> From: "Neven MacEwan" <[EMAIL PROTECTED]>
> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
> Sent: Wednesday, 27 March 2002 5:44 PM
> Subject: [DUG]: modal form not in front
> 
> 
> Hi all
> 
> I have a TMemodlg component that pops up a dialog (with a memo)
> in its execute method, but im finding that its not "at the front"
which
> is inconvenient as it is modal and hidden behind the form that
propagated
> it!!!
> 
> Any suggestions (please!!!)
> 
> TIA
> 
>  Regards Neven
>  N.K. MacEwan B.E. E&E
>  Ph 649 574 0027
>  Fax 649 570 2706
>  [EMAIL PROTECTED]
> 
> 
> 
> ------------------------------------------------------------------
> ---------
>     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/

---------------------------------------------------------------------------
    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