masking events from Image Well

2009-05-05 Thread Henrietta Read
Hi, I'm using an Image Well as a button... such as: - (void)mouseDown:(NSEvent *)theEvent { theEvent = [[self window] nextEventMatchingMask: NSLeftMouseUpMask]; switch([theEvent type]) { case NSLeftMouseUp: DoVariousImportantThingsHere();

Re: masking events from Image Well

2009-05-05 Thread Henrietta Read
Sorry to bother, got it all fixed with: [[self window] discardEventsMatchingMask:NSLeftMouseDraggedMask beforeEvent:theEvent]; On Tue, May 5, 2009 at 6:09 AM, Henrietta Read readhenrie...@gmail.comwrote: Hi, I'm using an Image Well as a button... such as: -