🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Synthesised mouse movement problems

#17566
From: Cathryn
Date: Fri, 14 Mar 2003 10:06
6 lines
1666 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?
Technical Details
Message-ID: <3e71a9b8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!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,9eb5b6a19c09789b,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-15 09:20:03 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
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: <3e71a9b8$1@newsgroups.borland.com>
Date: 14 Mar 2003 02:06:48 -0800
X-Trace: newsgroups.borland.com 1047636408 207.105.83.65 (14 Mar 2003 02:06:48 -0800)
Lines: 6
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail