Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!zaphod.mps.ohio-state.edu!mips!atha!aunro!ersys!kenh From: kenh@ersys.edmonton.ab.ca (Ken Huisman) Newsgroups: comp.sys.amiga.programmer Subject: Questions about dealing with the mouse. Message-ID: Date: 7 Jun 91 03:59:33 GMT Organization: Edmonton Remote Systems, Edmonton, AB, Canada Lines: 29 I am having a couple problems with a few things. Here are my questions: what does the ReportMouse() function do? Using Aztec C 5.0e I get an undefined symbol error when it comes to the ReportMouse() function. Which library is it supposed to be in? I am including ml.lib, cl.lib and even sl.lib, and I still get the error. What I am trying to do is allow my program to highlight an area of the screen by pressing the mouse button, dragging, and releasing (this is a common operation done in many programs). As it stands, I get an IDCMP message when I press the mouse button, and when I release the mouse button, but I don't get any when I move the mouse around. I have put the MOUSEMOVE, REPORTMOUSE, and MOUSEBUTTONS flags in my newwindow structure, but I only get MOUSEMOVE messages when I drag one of the sliders around. I want mousemove messages during my highlighting process, after I have pressed the mouse button down and not after I have released it. Will the ReportMouse() function help? (I really don't know what it does, I was just going to try and see). Is there another method I can use? Any help on either question would be much appreciated. Ken ersys!kenh@nro.cs.athabascau.ca or kenh@ersys.edmonton.ab.ca Ken Huisman kenh@ersys.edmonton.ab.ca Edmonton Remote Systems: Serving Northern Alberta since 1982