Re: Quartz composer drag and drop problems
Re: Quartz composer drag and drop problems
- Subject: Re: Quartz composer drag and drop problems
- From: Guy English <email@hidden>
- Date: Mon, 16 Jan 2006 15:59:00 -0500
Hi,
When you say nothing happens what do you mean? Do you get the
"mouse Dragged" message logged? Many Cocoa views go into a tight loop
on a mouse down event waiting for a mouse up - it's in this loop that
they handle things like starting drags and tracking if the mouse if
over a button, etc. I haven't tried it but this is likely what the
QCView is doing. Since it's possible to drive the animation from mouse
input I imagine they go modal on a mouse down. Test it with this:
- (void) mouseDown: (NSEvent*) theEvent
{
NSLog( @"%s", _cmd );
[super mouseDown: theEvent];
}
you'll get 'mouseDown:' output if that's the case. If it is then
you've got a couple of choices - either enter your own small modal
loop or just return without calling super.
Good luck,
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden