🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17561

Synthesised mouse movement problems (Reformatted)

#17561
From: Cathryn
Date: Fri, 14 Mar 2003 10:09
20 lines
1840 bytes
Hi

I'm synthesising mouse movement using mouse_event(), in relative
mode.  If I synthesis the mouse movement over a menu, it tracks 
correctly and the menu bar items are highlighted correctly.  
Because my mouse-position generating device does not yet handle 
clicking, I synthesis mouse movements to the correct position on 
a menu, then use a real mouse to click on a menu item.  Once 
I've clicked using a real mouse, however, the menu seems to stop 
picking up my synthesised movements!  Moving the real mouse
over menu items causes them to be highlighted correctly, but the 
synthesised movements don't (although the mouse cursor still 
moves correctly).

I know that synthesised movements are indistinguishable from 
real ones, but there certainly does seem to be something odd 
happening here ... any ideas?

(PS: Sorry for the double post; the first one was unreadable due to the lack of linewrapping!)
Technical Details
Message-ID: <3e71aa64$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,c91b859f473b7fb8,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-15 09:13:19 PST
From: "Cathryn" <cjohns@cs.uct.ac.za>
Sender: "Cathryn" <cjohns@cs.uct.ac.za>
Reply-To: "Cathryn" <cjohns@cs.uct.ac.za>
Subject: Synthesised mouse movement problems (Reformatted)
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 196.25.253.13 196.25.253.13    
X-Forwarded-For: 165.165.192.67
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3e71aa64$1@newsgroups.borland.com>
Date: 14 Mar 2003 02:09:40 -0800
X-Trace: newsgroups.borland.com 1047636580 207.105.83.65 (14 Mar 2003 02:09:40 -0800)
Lines: 22
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail