At 8:58 AM -0700 10/3/02, Rich Morin wrote:
>I would like to be able to create a CamelBones app that will show up
>in contextual menus for the Finder, PathFinder, etc.  In addition, I'd
>like the app itself to have contextual menus.  I don't see anything on
>the subject in "Learning Cocoa with Onjective-C".  Suggestions?

Anything that inherits from NSResponder can have a contextual menu 
attached. You have to programmatically build up an NSMenu with 
attached NSMenuItems and then attach it to the NSResponder child 
object. (Use the setMenu method for that)

For the app menu from the doc, you need to have an 
applicationDockMenu delegate method in your application delegate 
object.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to