I have an NSMenu w开发者_高级运维hich opens when a user clicks an NSStatusItem in the status bar. How can I determine if the NSMenu is opened (expanded) or not?
I am using the setView: method on an NSMenuItem to set a custom view. In this custom view there is an image which takes the whole of the view. The NSMenuItem with this custom view is the first in the
I disabled \"auto-enables menu items\" for my app\'s main menu in Interface Builder because I need to disable some menus when certain views are lo开发者_如何学Caded. I am running into a problem though
I would like to all开发者_JAVA技巧ow a user to use the file menu to select a file in the \"Open...\" selection in the \"File Menu\", and allow me to get the path of the file that was selected by the u
Using valid开发者_如何学运维ateUserInterfaceItem it is possible to disable/enable a menu item but I need a similar behaviour to hide menu items, have you some hints?- (BOOL)validateMenuItem:(NSMenuIte
I\'m want to create a menu for a status bar item like the one seen in Tapbot\'s PastebotSync application:
I\'m interested in capturing key presses while a NSMenu is open. For example, if the menu is open and the user presses \"e\", or \"1\" on the keyboa开发者_StackOverflow中文版rd, send a particular mess
How can I Display an NSTextField or an NSProgressIndicator within an NSMenu? I\'m looking to do something simila开发者_如何学JAVAr to the Spotlight icon menu, or the Help menu of most applications.You
I have two NSMenus with the same NSMenuItems. Only one NSMenuItem in its NSMenu should be selected. (Kind of like an NSMatrix). So I connected each NSMenuItem to the same action and added an iVar for
I have a status menu with a NSSearchField and menu items.开发者_如何学编程 When search field is active and user presses up & down arrows, I\'d like to start menu tracking, that is that the user wi