• 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: 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

  • Follow-Ups:
    • Re: Quartz composer drag and drop problems
      • From: Pablo Pons Bordes <email@hidden>
References: 
 >Quartz composer drag and drop problems (From: Pablo Pons Bordes <email@hidden>)

  • Prev by Date: Drawing into a WebView during drag time?
  • Next by Date: Re: ANN: "Programming with Quartz"
  • Previous by thread: Quartz composer drag and drop problems
  • Next by thread: Re: Quartz composer drag and drop problems
  • Index(es):
    • Date
    • Thread