🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2369

Capturing all mouse clicks

#2369
From: Jason T. Cavender
Date: Tue, 26 Jan 1993 16:32
20 lines
1230 bytes
I am trying to write an app that will work kind of like Recorder, except
that is is triggered by clicking on the right or middle mouse button.

My question is: How do you get all mouse messages, including those that
are done in other apps?  Is there a way to modify your message loop to 
get all messages?

It seems that recorder works this way (except with the keyboard),
and I looked at a shareware program called whiskers that does approximately 
this with the mouse, but I couldn't get whiskers to activate recorder.

My end goal is to get the mouse click (right or middle button) to
start an app.  Is there a better way?

By the way, I am using Borland C 3.1.

Thanks for any help, guesses, or whatever you think of.

Jason Cavender
jtc@lanl.gov
Technical Details
Message-ID: <1993Jan26.163249.16892@newshost.lanl.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!lanl!beta.lanl.gov!jtc

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!lanl!beta.lanl.gov!jtc
From: jtc@beta.lanl.gov (Jason T. Cavender)
Subject: Capturing all mouse clicks
Message-ID: <1993Jan26.163249.16892@newshost.lanl.gov>
Followup-To: jtc@lanl.gov
Sender: news@newshost.lanl.gov
Organization: Los Alamos National Laboratory
Date: Tue, 26 Jan 1993 16:32:49 GMT
Lines: 21