From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,501f57fc0d7fea05 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newshub.sdsu.edu!newsfeed.news2me.com!Spring.edu.tw!news.nctu.edu.tw!feeder.seed.net.tw!netnews!not-for-mail From: "bubble" Newsgroups: comp.lang.ada Subject: Re: simulate mouse click - windows Date: Fri, 23 Dec 2005 19:13:51 +0800 Organization: HiNetNews Message-ID: References: <1135302476.367605.172030@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: 211-21-128-195.hinet-ip.hinet.net X-Trace: netnews.hinet.net 1135336437 20006 211.21.128.195 (23 Dec 2005 11:13:57 GMT) X-Complaints-To: usenet@HiNetnews.hinet.net NNTP-Posting-Date: Fri, 23 Dec 2005 11:13:57 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original Xref: g2news1.google.com comp.lang.ada:6983 Date: 2005-12-23T19:13:51+08:00 List-Id: "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" ???????:1135302476.367605.172030@g14g2000cwa.googlegroups.com... > 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. >