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

Re: coordinate transformation


  • Subject: Re: coordinate transformation
  • From: Frank Fenn <email@hidden>
  • Date: Mon, 27 Dec 2004 15:34:56 -0700

On Dec 27, 2004, at 7:40 AM, p3consulting wrote:

NSPoint currentLocation = [self convertBaseToScreen:[theEvent locationInWindow]]

I've tried this approach but then I always have the screen coordinate of the mouse click within
the button frame - but I need the actual button frame position to open the window exactly under
the left/bottom point without covering the button itself.

Sincerely,
Frank Fenn

--

Bright Light Software - http://www.brightlightsoftware.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >coordinate transformation (From: Frank Fenn <email@hidden>)
 >Re: coordinate transformation (From: p3consulting <email@hidden>)

  • Prev by Date: Reserved NSEvent keys
  • Next by Date: Re: Reserved NSEvent keys
  • Previous by thread: Re: coordinate transformation
  • Next by thread: Re: coordinate transformation
  • Index(es):
    • Date
    • Thread