• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quartz composer drag and drop problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quartz composer drag and drop problems


  • Subject: Re: Quartz composer drag and drop problems
  • From: Pablo Pons Bordes <email@hidden>
  • Date: Tue, 17 Jan 2006 00:35:28 +0000

Thanks to respond to my question, Wen I say nothing happen I said that the events are not called, i tried your solution but still do the same it doesn't respond to the event (the NSLog sentence does not called or triger) i don't understand why because if I not wrong its supose that i rewrite the mouse down event so each time some one press in the view it's suppose that the event have to be triggered not?.
if there someone who now why the event is not call, it's like other is "getting" the event first.


thanks
Pablo

El 16/01/2006, a las 20:59, Guy English escribió:

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
  • Follow-Ups:
    • Re: Quartz composer drag and drop problems
      • From: Aaron Tuller <email@hidden>
References: 
 >Quartz composer drag and drop problems (From: Pablo Pons Bordes <email@hidden>)
 >Re: Quartz composer drag and drop problems (From: Guy English <email@hidden>)

  • Prev by Date: Re: [Core Data] Improve save performance ?
  • Next by Date: Re: Quartz composer drag and drop problems
  • Previous by thread: Re: Quartz composer drag and drop problems
  • Next by thread: Re: Quartz composer drag and drop problems
  • Index(es):
    • Date
    • Thread