Skip navigation.
 
mlNSImageView not showing context menu with right mouse button
FROM : Steven Noyes
DATE : Fri Dec 13 13:32:01 2002

I have been quite for some time, simply lurking.

I have a subclass of NSImageView (imageHistogramView) that assigns a
context menu in the awakeFromNib and/or initWithFrame: methods.

It works fine with one exception.

If the NSImageView's isEditalbe: is set to YES, the context menu shows
up only
when pressing the control/left mouse button.  Otherwise it shows up
while the right mouse button is depressed as well.  I always want the
right
mouse button work.

Am I missing something?

BTW, If anyone wants the class, let me know.  Provides RGB and Luminance
histograms to any NSImageView.  Context menu lets you turn ON/OFF
channels.

TIA
Steven Noyes


Related mailsAuthorDate
mlNSImageView not showing context menu with right mouse button Steven Noyes Dec 13, 13:32
mlRe: NSImageView not showing context menu with right mouse button Steven Noyes Dec 13, 14:04
mlRe: NSImageView not showing context menu with right mouse button -fix- Steven Noyes Dec 13, 14:53