Skip navigation.
 
mlRe: NSImageView not showing context menu with right mouse button -fix-
FROM : Steven Noyes
DATE : Fri Dec 13 14:53:01 2002

A simple override fixes the problem.

- (void) rightMouseDown:(NSEvent *) theEvent
{
    BOOL    temp = [self isEditable];

    [self setEditable:NO];
    [super rightMouseDown:theEvent];

    [self setEditable:temp];
}

On Friday, December 13, 2002, at 02:58 PM, Steven Noyes wrote:

> Your wonderful.  Simple fix.  I will file a bug report.
>
> Actually, it only works when isEditable is set to NO.
>
> Steven
>
> _______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>


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