• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: detecting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detecting


  • Subject: Re: detecting
  • From: Simon Stapleton <email@hidden>
  • Date: Fri, 28 Sep 2001 08:24:37 +0100 (BST)

> From: email@hidden
> Date: Sun, 4 Jan 1970 19:19:21 -0600
> To: email@hidden
> Subject: detecting
>
> i need to determine if a click occurs in a area
> i used an nsrect and the mouse:inrect: method but it doesnt
work
> right.
> Can someone show me how to do this?

You'll probably be needing -convertPoint:fromView: (either in the
NSResponder or NSView docs, I forget)

Simon

--
PGP Key ID : 0x50D0698D
--
If the answer isn\'t obvious, the question is a distraction. Go find
an easier question.


  • Prev by Date: Re: Text field and copy/paste... (still doesn't work)
  • Next by Date: Re: NSWindow without titlebar
  • Previous by thread: tracking the mouse click
  • Next by thread: Re: detecting
  • Index(es):
    • Date
    • Thread