• 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
is the mouse button pressed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

is the mouse button pressed?


  • Subject: is the mouse button pressed?
  • From: Ian <email@hidden>
  • Date: Wed, 29 May 2002 01:03:06 +0100

In the Mac OS(<10) toolbox we had a function, I think it was mousepressed() or mousedown() or buttondown() or something which simply told us whether or not at that instant the mouse button was down. I could really use something like that now, but can't find a cocoa equivalent. I don't want to overide mouseDown or poll [NSApp currentEvent] or anything like that, I just want to know that at the instant I call NSImaginaryMethodThatReturnsYesOrNoAccordingToAnyMouseButtonBeingDownOrNot will let me know what I want to know :)

Have I missed this somewhere? Many thanks to anyone that can tell me yes or no if this functionality already exists.
_______________________________________________
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: is the mouse button pressed?
      • From: Chris Ridd <email@hidden>
  • Prev by Date: NSView -subviews ordering?
  • Next by Date: Re: Apple Help and Menu Bar Icons
  • Previous by thread: Re: NSView -subviews ordering?
  • Next by thread: Re: is the mouse button pressed?
  • Index(es):
    • Date
    • Thread