Re: simulate mouse click - windows



"GetCapture"
"sendMessage"
should be work in window

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/mouseinput/aboutmouseinput.asp

"Gutek" <gut@xxxxx>
???????:1135302476.367605.172030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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).
>
>
> But,
> How could I simulate clicks?
>
>
> Thanks in advice.
>


.


Quantcast