Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!samsung!cs.utexas.edu!rice!sun-spots-request From: nsc!orr@decwrl.dec.com (Orr Michael ) Newsgroups: comp.sys.sun Subject: Mouse events in Text subwindows - help please Keywords: Windows Message-ID: <7297@brazos.Rice.edu> Date: 1 May 90 18:27:53 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 17 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 148, message 6 How do I solicit/catch mouse events in a textSW under Sunview? It should be Easy & Trivial, but neither I nor the local Sun people were able to find out how to do it. Basically, what I need is a way to register an event procedure to be called whenever the user clicks a mouse button in a text (sub)window. All this routine needs to do is calculate the file position and return. If you have a solution (best would be a working example/fragment thereof), or a good pointer (manual section #, Book etc.) I would be gratefull. If at all possible - reply by email (Unless you think this is a new question.) Thanks a lot ! orr@nsc.nsc.com \ Those who resist \ {decwrl,hplabs,sun}!nsc!orr Michael Orr, POB 3007 \ Temptation, have only \ ----------------------------- Herzlia, Israel 46104 \ themselves to blame. \ Disclaimer: Opinions, come Tel:+972-52-522225 \ -- L. Long \ home, all is forgiven. Papa.