Le 10 avr. 2014 à 10:00, Christian Schmitz a écrit:

> I think in Cocoa you can get the NSMenuMBS and use CarbonMenuRef function 
> there to get the handle.

How do I go from a PopupMenu to a NSMenuMBS? The NSMenuMBS has no constructor 
(that I found) with a PopupMenu parameter and the PopupMenu has nothing to get 
a NSMenuMBS (I also checked NSViewMBS, NSPopupButtonMBS and NSControlMBS 
properties of the PopupMenu).

In the meantime, I commented out the test (so all popup menus are processed); 
I've been able to set a PopupMenu's menu item to bold or underline, but 
enabled=false doesn't disable the item (it did in Carbon); and disabling a menu 
item is exactly what I want to achieve. Do you happen to know that disabling a 
menu item in a PopupMenu is broken in Cocoa?

Thanks
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to