• 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: Showing NSView's contextual menu on mouse down
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing NSView's contextual menu on mouse down


  • Subject: Re: Showing NSView's contextual menu on mouse down
  • From: j o a r <email@hidden>
  • Date: Sun, 6 Apr 2003 01:30:07 +0200

Use this method from NSMenu:

+ (void)popUpContextMenu:(NSMenu*)menu withEvent:(NSEvent*)event forView:(NSView*)view

j o a r

On Sunday, Apr 6, 2003, at 00:23 Europe/Stockholm, Aidas Dailide wrote:

Is there any way to show NSView's contextual menu without using Control key? I want to show it when my NSView receives simple mouseDown:.
_______________________________________________
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.

References: 
 >Showing NSView's contextual menu on mouse down (From: Aidas Dailide <email@hidden>)

  • Prev by Date: Re: What units are in effect when drawing?
  • Next by Date: accurate timing
  • Previous by thread: Showing NSView's contextual menu on mouse down
  • Next by thread: accurate timing
  • Index(es):
    • Date
    • Thread