Re: Menu in iTunes
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