• 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: Pop-down menu buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pop-down menu buttons


  • Subject: Re: Pop-down menu buttons
  • From: Andreas Mayer <email@hidden>
  • Date: Fri, 14 Oct 2005 16:46:10 +0200


Am 14.10.2005 um 15:11 Uhr schrieb Matthew Binkowski:

I have found corbin's writeup on his blog about those buttons but, no offense, I'd like to see if there's a better/more standard way.

It's the easiest way I have ever seen.

Another method is to subclass NSButtonCell (plus NSButton eventually) and add the necessary event handling yourself. If you want to go that road, you can look at my AMRollOverButton classes (just ignore all the drawing stuff :-)).

http://www.harmless.de/cocoa.html#rollover


Andreas _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Pop-down menu buttons (From: Matthew Binkowski <email@hidden>)

  • Prev by Date: Re: NSTableView and variable row heights problem
  • Next by Date: Re: Scheduling an application function/event
  • Previous by thread: Pop-down menu buttons
  • Next by thread: Re: Pop-down menu buttons
  • Index(es):
    • Date
    • Thread