Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!gatech!mcnc!ece-csc!ncsuvx!mikes From: mikes@ncsuvx.ncsu.edu (Michael Steele) Newsgroups: comp.sys.apple Subject: Re: maybe mousetext (if noboby's interested in documents) Keywords: mousetext mli Message-ID: <2752@ncsuvx.ncsu.edu> Date: 5 Apr 89 04:37:03 GMT References: <1645@wpi.wpi.edu> Reply-To: mikes@ncsuvx.ncsu.edu (Michael Steele) Distribution: na Organization: /etc/organization Lines: 19 In article <1645@wpi.wpi.edu> ggray@wpi.wpi.edu (Gary Gray) writes: >for either a keypress or a mouse click. If the mouse click is something the >window routines can handle (such as scroll a window, close a window, etc) then Look at the event loops used to program the GS. I've done some event loop programming on the Mac. Essentially it's just a while loop that checks the keyboard and then the mouse. When something happens it just calls the mouse or keyboard routine. REAL simple to do this part. Good luck on figureing out what's going on with the mouse. You'll find a lot of the code and algorithms already developed for the GS and the Mac. Look into those sources for info on how it's done. Michael Steele mikes@ncsuvx.ncsu.edu -- Michael Steele mikes@ncsuvx.ncsu.edu mikes@ncsuctix.ncsuvx.ncsu.edu netoprms@ncsuvm.bitnet