home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4547 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.4 KB  |  30 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!sun-barr!decwrl!access.usask.ca!regina!phenix.cc.uregina.ca!craig
  3. From: craig@phenix.cc.uregina.ca (Craig Knelsen)
  4. Subject: Re: Need MOUSEMSG quickly!
  5. Message-ID: <1992Aug29.042100.14452@regina.cs.uregina.ca>
  6. Sender: news@regina.cs.uregina.ca
  7. Reply-To: craig@cc.uregina.ca (Craig Knelsen)
  8. Organization: Does it matter?
  9. References: <oebbNma00VotA3REMm@andrew.cmu.edu>
  10. Date: Sat, 29 Aug 1992 04:21:00 GMT
  11. Lines: 17
  12.  
  13. In article <oebbNma00VotA3REMm@andrew.cmu.edu> sl31+@andrew.cmu.edu (Stephen M. Lacy) writes:
  14. >I forgot to write down the MOUSEMSG macro, and can't seem to find it in
  15. >Petzold's book.  If its in the book, just tell me the page number.  If
  16. >not, I'd really not like to have to use this damn macro, since it seems
  17. >to not really be supported anymore, so if you could, just let me know
  18. >what the two MPARAM's return with on a WM_MOUSE or WM_MOUSEMOVE message.
  19. >I don't remember if these macros are used with the WM_BUTTON* macros, so
  20. >I guess I would need it to be able to use those too.  Thanks.
  21.  
  22.     I use the MSEMSG macro myself (under 2.0) to access the mouse position
  23. that is passed in one of the message parameters for the WM_BUTTON* messages.
  24. I don't have the source code handy (it being at work and me at home) but
  25. I am fairly sure that MSEMSG is defined in one of the OS/2 header files.
  26. -- 
  27.  
  28. Craig Knelsen        craig@phenix.cc.uregina.ca
  29.             Craig_Knelsen@f20.n140.z1.fidonet.org
  30.