• 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: Popup menu in custom view ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Popup menu in custom view ...


  • Subject: Re: Popup menu in custom view ...
  • From: Graham Cox <email@hidden>
  • Date: Sat, 28 Mar 2009 12:04:56 +1100


On 28/03/2009, at 11:46 AM, Mic Pringle wrote:

 call [NSMenu
popupContextMenu...]


That should work, but watch the coordinates for its position - they need to be converted to screen (global) coordinates. If you pass in local ones chances are the menu is appearing off-screen.

--Graham


_______________________________________________

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


References: 
 >Popup menu in custom view ... (From: Mic Pringle <email@hidden>)

  • Prev by Date: Popup menu in custom view ...
  • Next by Date: Embeded SQLite
  • Previous by thread: Popup menu in custom view ...
  • Next by thread: Embeded SQLite
  • Index(es):
    • Date
    • Thread