• 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: Fake NSMenu-like view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fake NSMenu-like view


  • Subject: Re: Fake NSMenu-like view
  • From: Daniel Jalkut <email@hidden>
  • Date: Mon, 30 Jan 2006 15:19:13 -0500

A matrix is the direction I'm leaning. Just wanted to make sure nobody out there has a better idea or (best yet) a pointer to an existing implementation.

Thanks again for replying,
Daniel

On Jan 30, 2006, at 2:13 PM, Brian Ganninger wrote:

Hmm. What about creating a matrix of custom (likely nsbutton subclass) cells where the custom cell contains its own mouseEntered: code that draws a highlight as the background and draws a 'clean' background when mouseExited:

This would give you rollover behavior and button click functionality, which if coded correctly should be able to reasonably approximate a 'menu' effect.


_______________________________________________ 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: 
 >Fake NSMenu-like view (From: Daniel Jalkut <email@hidden>)
 >Re: Fake NSMenu-like view (From: Joshua Scott Emmons <email@hidden>)
 >Re: Fake NSMenu-like view (From: Brian Ganninger <email@hidden>)
 >Re: Fake NSMenu-like view (From: Daniel Jalkut <email@hidden>)
 >Re: Fake NSMenu-like view (From: Brian Ganninger <email@hidden>)

  • Prev by Date: Re: programmatically updating an MO's attribute/field {MOC is updated, but data is NOT stored}
  • Next by Date: Re: title bars messed up when scrolling in NSTableView
  • Previous by thread: Re: Fake NSMenu-like view
  • Next by thread: Re: Fake NSMenu-like view
  • Index(es):
    • Date
    • Thread