Re: MouseDown of superclass
Re: MouseDown of superclass
- Subject: Re: MouseDown of superclass
- From: Tobias Hermann <email@hidden>
- Date: Thu, 20 Mar 2003 13:17:59 +0100
- (void) mouseDown:(NSEvent *) event
{
NSEvent *newEvent = nil;
while ((newEvent = [[self window] nextEventMatchingMask:
NSLeftMouseUpMask | NSLeftMouseDraggedMask]))
{
switch ([newEvent type])
{
case NSLeftMouseDragged:
[[self window] postEvent: newEvent atStart: NO];
[super mouseDown: event];
but would't this call to super mouseDown have this effect again ? this
super mousedown hanlder takes again his own loop and grabs everything...
:-(
So once I call this, i don't get any dragged or up events anymore. or
did I get something wrong here...
Thanx for answering so quickly!
Tobi
_______________________________________________
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.