[Lazarus] FPC Docs updated

Michael Van Canneyt michael at freepascal.org
Sat Mar 6 13:57:48 CET 2010


2010/3/6 "Arí Ricardo Ody" <aro52 at gmx.com>

>
>
> I would like to know if it's possible to make a program to detect if a
> service has started in windows. If affirmative this service shows a window
> and I must to simulate a click on the “yes” button of this same window, e.g,
> the program will think that someone click yes in the windows it shows when
> it starts.
>
>
> Is it possible to do a program with Lazarus or FPC that solves this
> problem? If affirmative may someone send me an example of how to do this?
>
>
>
>
In short You can make FindWindow then Send a key (y/Return) to this window.
-- 
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100306/57ffde3c/attachment-0004.html>


More information about the Lazarus mailing list