• 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
Right mouse button and NSMenu in NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Right mouse button and NSMenu in NSImageView


  • Subject: Right mouse button and NSMenu in NSImageView
  • From: Sascha Matzke <email@hidden>
  • Date: Tue, 21 Jan 2003 01:03:01 +0100

Hi,

I somehow managed to get the context menu in my NSImageView working. Now I have another problem.

During development I used my Powerbook and emulated the right-button click via the CTRL-Click combination. Today I tried the program on my Cube with a 2-button mouse. To my surprise a right mouse click did not result in the context menu to be shown. After digging around and putting a category around NSImageView I found out that the NSImageView resigns firstResponder when a right mouse click happens.

Other context menus in the same view (like the standard menu in a NSTextView) work fine when clicking the right mouse button.

Any ideas?


Sascha
_______________________________________________
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.

  • Prev by Date: Re: getting info on which control is selected
  • Next by Date: Re: Leaking Memory
  • Previous by thread: Re: Constraining a Split View (a different scenario)
  • Next by thread: hotkey problem
  • Index(es):
    • Date
    • Thread