hi-
i have an NSMenu attached to a NSStatusBarItem and its being displayed properly,
except for a single NSMenuItem in that menu, which contains as a view with a
single
search field:
NSMenuItem* firstItem = [[NSMenuItem allocWithZone:[NSMenu menuZone]]
initWithTitle:@"Test" action:NULL keyEquivalent:@""];
[firstItem setEnabled:YES];
[firstItem setView:searchView];
[firstItem setTarget:self];
[menu addItem:firstItem];
[firstItem release];
whenever i click on the NSSearchField, it doesn't gain focus, it doesn't have a
blinking
cursor, and i can't type text into it.
i am able to do this in an NSMenu outside of the status bar though, so i was
wondering
if there was a limitation on what a menu can have when attached to a status bar
item.
thanks,
augusto._______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]