In D5, the ApplicationEvents component has OnActivate & OnDeactivate 
events, as does the AppEvents component in RxLib.

At 16:11 17/05/2001 +1200, you wrote:
>I have a programme which runs others using WinExec (CreateProcess seems a
>little complicated for my small understanding).
>
>Upon returning from the called programme (eg Word), I want my programme to
>perform an action immediately and automatically, but . . it appears the
>window of my programme is not active until clicked and therefore I cannot
>think of an event (like 'On Activate') upon which to 'hang' the code for the
>action I want performed. Is there a solution?
>
>Again 'yes' will not be overly helpful. :)
>
>Regards
>Graham.
>
>---------------------------------------------------------------------------
>     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"

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

Reply via email to