advertisement

Article:
  Creating Toolbars for Mac OS X
Subject:   A few questions
Date:   2002-03-22 12:24:33
From:   xyzzy-xyzzy
Response to: A few questions

I don't understand how to disable the search item either. I've tried changing this function (from the article) to this:


- (BOOL)validateToolbarItem:(NSToolbarItem *)theItem
{
return NO;
}


and it disables the add and remove, but not the search item (or the customize button, but that makes sense).


Is there another function I just don't know about yet?