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

Re: is the mouse button pressed?


  • Subject: Re: is the mouse button pressed?
  • From: Gregory Weston <email@hidden>
  • Date: Wed, 29 May 2002 07:26:00 -0400

On 5/28/02 at 9:44 PM, Ian <email@hidden> wrote:

> 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. ....
>
> Have I missed this somewhere? Many thanks to anyone that can tell me yes
> or no if this functionality already exists.

It was called Button() and it's in Carbon, which means it's available to Cocoa
programs.

G
_______________________________________________
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: Hasan Diwan <email@hidden>
  • Prev by Date: Re: message passing
  • Next by Date: Re: Frontmost window of particular document type
  • Previous by thread: Re: is the mouse button pressed?
  • Next by thread: Re: is the mouse button pressed?
  • Index(es):
    • Date
    • Thread