See
Re: SendInput Function Thread #
814808 Message #
814854>
>I have an external application that need's to be closed by clicking OK in a messagebox() like window. I tryed to kill the process but that solution does not work because the application needs to be correctly closed.
>It seems to me that I already read about that but I can't find it now.
>Any sugestions wold be great.
>
>Thank's in advance,
>NPedro
--sb--