• 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: implementing pop up menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: implementing pop up menus


  • Subject: Re: implementing pop up menus
  • From: Shaun Wexler <email@hidden>
  • Date: Sat, 18 Jan 2003 10:46:26 -0800

On Saturday, January 18, 2003, at 10:24 AM, James McCartney wrote:

popUpContextMenu:withEvent:forView:

That's not the problem. I have a menu and it is popping up. The problem is that with popUpContextMenu:withEvent:forView: the menu is not aligned where I want it and it does not pop up selecting the menu item that I want.

Can't you pre-select the MenuItem, and modify the mouse location in the event, before passing the objects to the popUp method?
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: implementing pop up menus
      • From: Jim Correia <email@hidden>
References: 
 >Re: implementing pop up menus (From: James McCartney <email@hidden>)

  • Prev by Date: Re: NSWindow
  • Next by Date: Re: implementing pop up menus
  • Previous by thread: Re: implementing pop up menus
  • Next by thread: Re: implementing pop up menus
  • Index(es):
    • Date
    • Thread