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

RE: Mouse Event Handling


  • Subject: RE: Mouse Event Handling
  • From: "Jonathan E. Jackel" <email@hidden>
  • Date: Thu, 17 Oct 2002 11:54:35 -0400

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

How about:

if ([event clickCount] > 1)
{ //Do your thing
}

Jonathan
_______________________________________________
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.

References: 
 >Mouse Event Handling (From: Tom Gray <email@hidden>)

  • Prev by Date: Re: Creating an NSDictionary out of NSData?
  • Next by Date: Re: NSSplitView query
  • Previous by thread: Mouse Event Handling
  • Next by thread: Re: Mouse Event Handling
  • Index(es):
    • Date
    • Thread