• 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
displaying custom menu popups with any button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

displaying custom menu popups with any button?


  • Subject: displaying custom menu popups with any button?
  • From: "aaron smith" <email@hidden>
  • Date: Wed, 24 Dec 2008 00:52:45 -0800

Hey All,

What's the trick to displaying an NSMenu associated with a left click
of a button? The NSPopup doesn't quite do it, in terms of how it looks
and how I can configure it. So I have to go this other route.

I have an NSButton with an image of a "down arrow", and when you click
it, I need it to display a popup menu. I've looked through the
NSMenu/NSControl/NSView documentation and don't see anything that
looks like it's the right thing.

Any ideas? Thanks!
_______________________________________________

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: displaying custom menu popups with any button?
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: Crash as NSPersistentDocument creates its persistence stack
  • Next by Date: Re: displaying custom menu popups with any button?
  • Previous by thread: Re: Using Image- Hellp
  • Next by thread: Re: displaying custom menu popups with any button?
  • Index(es):
    • Date
    • Thread