Okay, thanks again anyway. I've filed an enhancement request, and for now I'll just try to optimise the menu building as best as I can, being sure only to update them when they have actually changed. Thanks again and all the best, Keith
--- On Thu, 1/22/09, Eric Schlegel <eri...@apple.com> wrote: > From: Eric Schlegel <eri...@apple.com> > Subject: Re: Telling the Help menu Spotlight search to ignore certain items > To: keithblo...@yahoo.com > Cc: cocoa-dev@lists.apple.com > Date: Thursday, January 22, 2009, 6:54 PM > On Jan 22, 2009, at 6:23 AM, Keith Blount wrote: > > > Many thanks for your reply. I'll file an > enhancement request, but still looking for a solution to the > problem, is there any way to be notified of when the Help > menu is about to start doing this indexing? If there were, I > could tell my dynamic menus not to rebuild themselves in > that situation. I thought looking for -menuWillOpen: for the > Help menu would work for this, but, somewhat uselessly, that > delegate method only gets called *after* the Help menu has > finished its indexing, immediately before it opens. > > There are some Carbon event-based approaches to be > notified, but I'm not sure they'll be that suitable > for you in Leopard, due to other weaknesses in that > approach. I don't think there's any Cocoa-based way > to be notified. > > -eric _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com