• 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
Crash on [event locationInWindow]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash on [event locationInWindow]


  • Subject: Crash on [event locationInWindow]
  • From: "Colin O'Connor" <email@hidden>
  • Date: Sun, 21 Nov 2004 23:07:09 -0500

I have 2 custom NSImageViews in which I define mouseDragged:(NSEvent
*)event. I use [event locationInWindow] to get the location of the mouse
event in both cases. However, in one of my custom classes, this works fine,
but in the other, the app crashes as soon as I call [event
locationInWindow]. In what circumstances would this method cause my app to
crash?

Thanks,
Colin

P.S. I'm writing this on my brand new PowerMac =)

 _______________________________________________
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: Crash on [event locationInWindow]
      • From: "Sean McBride" <email@hidden>
    • Re: Crash on [event locationInWindow]
      • From: Yann Bizeul <email@hidden>
  • Prev by Date: Tracking behavior of cells in NSMatrix
  • Next by Date: Re: How to disable/gray an NSTextfield (used as static text)
  • Previous by thread: Tracking behavior of cells in NSMatrix
  • Next by thread: Re: Crash on [event locationInWindow]
  • Index(es):
    • Date
    • Thread