Right mouse button and NSMenu in NSImageView
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.