home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!jbush
- From: jbush@magnus.acs.ohio-state.edu (J Eric Bush)
- Subject: Re: Detecting mouse position in a window ?
- Message-ID: <1993Jan12.050224.14617@magnus.acs.ohio-state.edu>
- Keywords: faq mouse in window regions etc help
- Sender: news@magnus.acs.ohio-state.edu
- Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
- Organization: The Ohio State University
- References: <rudolph.726810080@unixg.ubc.ca>
- Date: Tue, 12 Jan 1993 05:02:24 GMT
- Lines: 15
-
- In article <rudolph.726810080@unixg.ubc.ca> rudolph@unixg.ubc.ca (Christopher E
- Rudolph) writes:
-
- >I obviously need to be checking where the mouse is at any one time and act
- >appropriately. Does anyone have an example of how to do this gracefully.
- >thanks, and sorry about it begin an FAQ
-
- Just use the GetMouse(p:point) procedure. If at first it gives you a global
- point, then all you have to do it say point:=GlobalToLocal(p).
-
- Eric
- --
- ------------------------------------------------------------------------------
- J. Eric Bush
- Internet: jbush@magnus.acs.ohio-state.edu
-