• 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
Mouse Event Handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mouse Event Handling


  • Subject: Mouse Event Handling
  • From: Tom Gray <email@hidden>
  • Date: Wed, 16 Oct 2002 21:09:43 -0400

Howdy, and as always, thanks in advance!

I have subclassed an NSTextView and I am trying to differentiate between single, double and triple clicks. My problem is that I am getting single click events as part of the double click (and doubles for the triple click).

In other words, when I double click the first event I get is a single click and then the double click event.

I need to somehow "know" not to act on the single click since it is the first part of a double click.

Any ideas?

Tom Gray
-------------
email@hidden
or
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • RE: Mouse Event Handling
      • From: "Jonathan E. Jackel" <email@hidden>
  • Prev by Date: Re: A CFStringRef that throws EXC_BAD_ACCESS
  • Next by Date: Unknown Console Error Message
  • Previous by thread: NSTextFieldCell subclass won't edit
  • Next by thread: RE: Mouse Event Handling
  • Index(es):
    • Date
    • Thread