Re: simulate mouse click - windows
- From: Stephen Leake <stephen_leake@xxxxxxx>
- Date: Fri, 23 Dec 2005 21:59:55 -0500
"Gutek" <gut@xxxxx> writes:
> Hi,
> I'm writing program for windows, which is going to communicate by RS232
> with
> my home-made device (functionally it is something like a mouse).
> I'm using GNAT.
> My program is listening the data coming from device, and according to
> them
> it has to:
> 1) Change cursor position
> 2) Simulate mouse clicks (left and right button)
>
> I have solved the problem with changing cursor position - using
> "GWindows"
> from: http://www.gnavi.org (Set_Cursor_Position, Get_Cursor_Position
> procedures).
In the CVS version of GWindows, there is a package
GWindows.Testing.Events, that has a nice binding to Mouse_Event. That
will let you generate mouse events on the normal Windows event queue,
just like a real mouse.
--
-- Stephe
.
- References:
- simulate mouse click - windows
- From: Gutek
- simulate mouse click - windows
- Prev by Date: Re: simulate mouse click - windows
- Next by Date: Re: The GNU Ada compiler
- Previous by thread: Re: simulate mouse click - windows
- Next by thread: Announce: Release of Small Ada 95 Object Database Server Version 0.1.0
- Index(es):