• 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: convertPoint mouseLocationOutsideOfEventStream
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convertPoint mouseLocationOutsideOfEventStream


  • Subject: Re: convertPoint mouseLocationOutsideOfEventStream
  • From: Claus Atzenbeck <email@hidden>
  • Date: Thu, 2 Aug 2007 10:15:23 +0200 (CEST)

On Mon, 30 Jul 2007, Claus Atzenbeck wrote:

> However, how can I convert it into my custom view's coordinate system?
> I thought it would be something like that (called from within my custom
> view):
>
>     [self convertPoint:[[self window] mouseLocationOutsideOfEventStream]
>               fromView:nil];

FYI: This has been solved in the meanwhile. The problem was not the
point conversion but that I changed the view's scale before checking the
cursor coordinates. Doing it the other way delivers the expected result.

Cheers,
Claus
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Releasing by reference
  • Next by Date: NSWindowController to manage two NSWindow instances
  • Previous by thread: Re: SSL support in NetSocket
  • Next by thread: NSWindowController to manage two NSWindow instances
  • Index(es):
    • Date
    • Thread