• 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
How to create a simple pop-up-menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to create a simple pop-up-menu


  • Subject: How to create a simple pop-up-menu
  • From: Ulai Beekam <email@hidden>
  • Date: Mon, 2 Mar 2009 16:42:00 +0000
  • Importance: Normal

Hi,

How do I create a Safari-style pop-up menu? I'm talking about the pop-up menu (be sure to correct me if this thing is not even called a pop-up menu) that appears when you click the ">>" button to show off-screen tabs.

Just open Safari (use version 3) and keep creating new tabs until the ">>" button appears to the right. And then click that button. You will see the menu I want to achieve.

How can I programmatically make such a menu appear on my custom NSView in my mouseDown: method? Do you have some simple sample code please?

Thanks, U
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us_______________________________________________

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: How to create a simple pop-up-menu
      • From: Benjamin Dobson <email@hidden>
  • Prev by Date: Re: enabling Edit menu items in a modal window?
  • Next by Date: Re: enabling Edit menu items in a modal window?
  • Previous by thread: Re: Changing NSTableView cell immediately before editing
  • Next by thread: Re: How to create a simple pop-up-menu
  • Index(es):
    • Date
    • Thread