Matthew,
You might be able to do the following :-
Disable the mainform Screen.mainform.enabled := false
You will have to try and see if it can still receive messages.
Regards
On 15 Dec 99 at 14:22, Matthew Comb wrote:
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_023F_01BF4707.DCC4A040
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> I am going through the messages pas file at the moment. There must be =
> some way I can make an application unable to receive focus unless I pass =
> a message to it and then it comes to life. ???
>
> Anyone have any thoughts as to which messages I should be looking to =
> override?
>
> Or if its possible at all.
>
> Cheers,
>
> Matt.
>
> ------=_NextPart_000_023F_01BF4707.DCC4A040
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Diso-8859-1" =
> http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT size=3D2>I am going through the messages pas file at the =
> moment. There=20
> must be some way I can make an application unable to receive focus =
> unless I pass=20
> a message to it and then it comes to life. ???</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT size=3D2>Anyone have any thoughts as to which messages I =
> should be=20
> looking to override?</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT size=3D2>Or if its possible at all.</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT size=3D2>Cheers,</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT size=3D2>Matt.</FONT></DIV></BODY></HTML>
>
> ------=_NextPart_000_023F_01BF4707.DCC4A040--
>
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz