🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

More sending mouse clicks?

#17198
From: Chris W
Date: Wed, 02 Apr 2003 17:09
8 lines
1230 bytes
I have successfully sent a mouse click to a button in another
application.  Windows makes in a bit difficult though.  I can't just
send the mouse click to the application window handle at the correct (x,
y) location to click on a button, I have to find the window handle of
the button and send the mouse click to its handle.  I don't suppose
there is an easier way?

Chris W
Technical Details
Message-ID: <3E8B193A.11681D9C@cox.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!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,a4bcdcbe0081dd78,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-02 09:17:40 PST
Message-ID: <3E8B193A.11681D9C@cox.net>
Date: Wed, 02 Apr 2003 11:09:14 -0600
From: Chris W <chrisw3@cox.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: More sending mouse clicks?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 68.12.125.52
X-Trace: newsgroups.borland.com 1049303299 68.12.125.52 (2 Apr 2003 09:08:19 -0800)
Lines: 9
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail