• 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
Make an NSButton send a message on right click
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make an NSButton send a message on right click


  • Subject: Make an NSButton send a message on right click
  • From: Alexander Golec <email@hidden>
  • Date: Thu, 22 Oct 2009 20:28:58 -0400

I am somewhat new to Cocoa development, and I've decided to learn a bit by doing my favorite new-language project: a Minesweeper clone.

For the cells, I want to have a matrix of NSButtons, and I want each button to respond differently to right clicks and left clicks. Would I have to extend NSButton or something?

Alex
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Make an NSButton send a message on right click
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Viewing a UIImageJPEGRepresentation image on the desktop
  • Next by Date: Re: Viewing a UIImageJPEGRepresentation image on the desktop
  • Previous by thread: Re: Viewing a UIImageJPEGRepresentation image on the desktop
  • Next by thread: Re: Make an NSButton send a message on right click
  • Index(es):
    • Date
    • Thread