Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kEventMenuPopulate and CM root menu in Leopard



On uto 30. 10. 2007., at 22:10, Dragan Milić wrote:

No, kEventMenuPopulate is not sent for either the root of the Finder CM, or submenu of any menu item located in the root, including "More" menu item. For menus deeper in hierarchy, it is being sent.

Milke.

Just a small update to this:...

First I need to say that I'm not using gdb, my development environment is still Tiger, I didn't have time to migrate yet. I'm observing the behaviour of CM plug-in using some debug messages printed at the appropriate time to the console. I know that isn't reliable enough to make any conclusions, but from what I see, it seems that third party CM plug-ins are not even initialised before menu item "More" is highlighted for the first time. Only then the initialisation happens. So, kEventMenuPopulate is perhaps sent for that menu, but the CM plug-in is still not initialised to catch it. I'll have to move my dynamically changed item more into menu hierarchy, which is something I don't really like. But as a quick fix, I'm afraid I don't have any other option.

Milke _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >kEventMenuPopulate and CM root menu in Leopard (From: Dragan Milić <email@hidden>)
 >Re: kEventMenuPopulate and CM root menu in Leopard (From: Eric Schlegel <email@hidden>)
 >Re: kEventMenuPopulate and CM root menu in Leopard (From: Dragan Milić <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.