• 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
Custom Buttons - Tutorial/Examples...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom Buttons - Tutorial/Examples...


  • Subject: Custom Buttons - Tutorial/Examples...
  • From: John Joyce <email@hidden>
  • Date: Sat, 5 Apr 2008 17:08:23 -0500

Does anybody know a tutorial or example on creating custom buttons in Cocoa?
I can certainly set an image in IB or programmatically, but how can I determine the actual hitmask? Or even set the mouseOver type of event for something like a rollover ?
I know I'm talking about stepping on Apple's HIG, but it is something I'd like to know how to do without delving into CG or CA right now.
I've been toying with it a bit today, and I can certainly set the images, but on mouse down, the background changes to the image with a darkened state inside of a white rectangle... surely I'm missing something stupidly obvious...?
Any tips or links are greatly appreciated!


Cheers,
JJ
_______________________________________________

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: Custom Buttons - Tutorial/Examples...
      • From: Ben Lachman <email@hidden>
  • Prev by Date: Re: display artifacts around cells
  • Next by Date: Re: Objective-C Instance Variable Names
  • Previous by thread: Re: NSTreeController / CoreData still broken in 10.5?
  • Next by thread: Re: Custom Buttons - Tutorial/Examples...
  • Index(es):
    • Date
    • Thread