• 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: Hasan Diwan <email@hidden>
  • Date: Wed, 29 May 2002 13:42:31 -0400

There is a notification for this. Under NSResponder:
- (void) mouseDown:(NSEvent *);
- (void) rightMouseDown:(NSEvent *); // for CTRL-click

On Wednesday, May 29, 2002, at 07:26 AM, Ian 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.
Hasan Diwan
OpenPGP KeyID: 0xBE42DCA6
Fingerprint: 1CB0 47E3 0A24 DAC1 DCCA 4225 F166 40C2 BE42 DCA6
http://hasandiwan.net/~hdiwan/gpg.key
_______________________________________________
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: 
 >Re: is the mouse button pressed? (From: Gregory Weston <email@hidden>)

  • Prev by Date: Re: [Q] Image background color different from NSTableView's background color
  • Next by Date: Re: NSTableView
  • Previous by thread: Re: is the mouse button pressed?
  • Next by thread: Re: is the mouse button pressed?
  • Index(es):
    • Date
    • Thread