home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5408 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.2 KB  |  33 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!gatech!darwin.sura.net!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!lanl!beta.lanl.gov!jtc
  3. From: jtc@beta.lanl.gov (Jason T. Cavender)
  4. Subject: Capturing all mouse clicks
  5. Message-ID: <1993Jan26.163249.16892@newshost.lanl.gov>
  6. Followup-To: jtc@lanl.gov
  7. Sender: news@newshost.lanl.gov
  8. Organization: Los Alamos National Laboratory
  9. Date: Tue, 26 Jan 1993 16:32:49 GMT
  10. Lines: 21
  11.  
  12. I am trying to write an app that will work kind of like Recorder, except
  13. that is is triggered by clicking on the right or middle mouse button.
  14.  
  15. My question is: How do you get all mouse messages, including those that
  16. are done in other apps?  Is there a way to modify your message loop to 
  17. get all messages?
  18.  
  19. It seems that recorder works this way (except with the keyboard),
  20. and I looked at a shareware program called whiskers that does approximately 
  21. this with the mouse, but I couldn't get whiskers to activate recorder.
  22.  
  23. My end goal is to get the mouse click (right or middle button) to
  24. start an app.  Is there a better way?
  25.  
  26. By the way, I am using Borland C 3.1.
  27.  
  28. Thanks for any help, guesses, or whatever you think of.
  29.  
  30. Jason Cavender
  31. jtc@lanl.gov
  32.  
  33.