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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,be6e28f854440947 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!t8g2000yqk.googlegroups.com!not-for-mail From: tolkamp Newsgroups: comp.lang.ada Subject: Re: How to get the mouse position with JEWL? Date: Fri, 22 Oct 2010 03:40:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: <63c03512-2fc8-47ff-8de6-8344c5cf9439@t8g2000yqk.googlegroups.com> References: NNTP-Posting-Host: 62.163.210.190 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1287744033 24294 127.0.0.1 (22 Oct 2010 10:40:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 22 Oct 2010 10:40:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t8g2000yqk.googlegroups.com; posting-host=62.163.210.190; posting-account=nZAcngoAAACcfYM9wDw3w9Z1XR3bObfs User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.1; .NET4.0C),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14674 Date: 2010-10-22T03:40:33-07:00 List-Id: On 21 okt, 23:50, Manuel Collado wrote: > Back to the original posting !! > > El 20/10/2010 11:04, tolkamp escribi=F3: > > > I use JEWL in several of my applications. > > Now I try to get the mouse position within a JEWL canvas by using the > > function "End_Point(Canavas)". > > The resulting mouse position (x,y) is always zero. What is going wrong? > > You must keep the mouse button pressed while moving. See: > > =A0 =A0http://www.it.brighton.ac.uk/staff/je/jewl/docs/windows.htm#5.4 > > -- > Manuel Collado -http://lml.ls.fi.upm.es/~mcollado When the left or right mouse button is keeping pressed the mouse position remains zero.