• 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: Menu in iTunes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menu in iTunes


  • Subject: Re: Menu in iTunes
  • From: Scott Stevenson <email@hidden>
  • Date: Fri, 22 Oct 2004 15:16:05 -0700


On Oct 22, 2004, at 11:54 AM, Peter Karlsson wrote:

If I move the mouse pointer over a playlist in iTunes and press the ctrl
key, the cursor changes to a pointer+menu. The cursor changes back again
when the ctrl key is released or if the mouse pointer is moved so it is not
over a playlist. And if I ctrl click the playlist a contextual menu opens.
This is what I want to do in my app. Can someone please tell me how to do
that?

I've never done it myself, but start here:

<http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGCursors/chapter_6_section_2.html>

SetThemeCursor ( <x-tad-bigger>kThemeContextualMenuArrowCursor )</x-tad-bigger>

That's Carbon. The relevant Cocoa class in NSCursor, but it doesn't have support for the contexual menu pointer.


- Scott

--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]
_______________________________________________
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
  • Follow-Ups:
    • Re: Menu in iTunes
      • From: Gideon King <email@hidden>
References: 
 >RE: Menu in iTunes (From: "Peter Karlsson" <email@hidden>)

  • Prev by Date: Re: Bug in NSArrayController? (immutable instead of mutable dictionaries)
  • Next by Date: Problems using -writeToFile:atomically: from a NSMutableArray
  • Previous by thread: RE: Menu in iTunes
  • Next by thread: Re: Menu in iTunes
  • Index(es):
    • Date
    • Thread