• 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
Finder Label Menu Item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder Label Menu Item


  • Subject: Finder Label Menu Item
  • From: "Ilja A. Iwas" <email@hidden>
  • Date: Thu, 6 Nov 2003 20:03:25 +0100

Hi,

I'm trying to implement a menu item, that offers the same functionality as the label item 10.3 Finder's action popup. (the thing that displays the colored dots).

Until now I emulated a popup menu using a custom NSTableView subclass and a custom NSCell subclass that displays several images, because I couldn't find information on how to subclass NSMenuItem to get the desired behavior. However, getting the mouse tracking, positioning and scrolling right caused me some headache and my implementation is miles always from the one Apple has done.

Does anybody know how to subclass NSMenuItem to make it work like the label item in the 10.3 Finder? Is there some sample code I could like at ?

Thanks,

Ilja Iwas.
<http://www.iwascoding.com>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: 2 interface questions
  • Next by Date: Re: Modifying the array of an NSArrayController
  • Previous by thread: Re: Praise for the many AppKit enhancements
  • Next by thread: XCode problem: debugger doesn't stop on breakpoint
  • Index(es):
    • Date
    • Thread