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,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail From: "Gutek" Newsgroups: comp.lang.ada Subject: simulate mouse click - windows Date: 22 Dec 2005 17:47:56 -0800 Organization: http://groups.google.com Message-ID: <1135302476.367605.172030@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: 82.177.41.3 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1135302481 9773 127.0.0.1 (23 Dec 2005 01:48:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 23 Dec 2005 01:48:01 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=82.177.41.3; posting-account=4YGv5A0AAAD4EQ1HDmfnrZTt9gslezrJ Xref: g2news1.google.com comp.lang.ada:6979 Date: 2005-12-22T17:47:56-08:00 List-Id: 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.