Article View: borland.public.cppbuilder.nativeapi
Article #10473Re: How to catch mouseclicks from another application?
From: Henk
Date: Sat, 10 Apr 2004 09:13
Date: Sat, 10 Apr 2004 09:13
19 lines
2036 bytes
2036 bytes
Well, I've got a lot more respect for DLL's..-) My main goals was and is to detect mouseclicks on other applications. I think I understand the priciples of DLL's sharing data. So mouseclicked coordinates from different processes can now 'horizontal' be made transparent between processes by using filemapping. Subsequently I can use DLL calls to get mousecoordinates into my MainApplication. But what's the best mechanism to inform my MainApplication that a DLL-MouseProc function has occurred, or in other words, has been called by the operating system? (For reading mouse coordinates). Should I use messages, or events, or is there some other trick to use? I just need a global hint and I will find out myself. (avoiding spoiling time on all kinds of useless mechanisms) Henk
Technical Details
Message-ID:
<4077bab0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<407421ef@newsgroups.borland.com> <40743aad$1@newsgroups.borland.com> <40754399$1@newsgroups.borland.com> <40758801$1@newsgroups.borland.com> <4075a4df$1@newsgroups.borland.com> <4075b6bd$1@newsgroups.borland.com> <4076476e$1@newsgroups.borland.com> <40764eac$1@newsgroups.borland.com> <40769c18$1@newsgroups.borland.com> <4076e5a0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e0858ea1c0821ca X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-10 02:39:06 PST From: "Henk" <h.van.winkoop@wxs.nl> Newsgroups: borland.public.cppbuilder.nativeapi References: <407421ef@newsgroups.borland.com> <40743aad$1@newsgroups.borland.com> <40754399$1@newsgroups.borland.com> <40758801$1@newsgroups.borland.com> <4075a4df$1@newsgroups.borland.com> <4075b6bd$1@newsgroups.borland.com> <4076476e$1@newsgroups.borland.com> <40764eac$1@newsgroups.borland.com> <40769c18$1@newsgroups.borland.com> <4076e5a0$1@newsgroups.borland.com> Subject: Re: How to catch mouseclicks from another application? Date: Sat, 10 Apr 2004 11:13:19 +0200 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 NNTP-Posting-Host: 62.131.145.60 Message-ID: <4077bab0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1081588400 62.131.145.60 (10 Apr 2004 02:13:20 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail