> I don't think that will be possible. The actual display of the menu is
> handled by the Carbon Menu Manager, and it doesn't support the kind of hooks
> you'd need.
Ah, that's a pity. And there's no way to hack into Carbon directly?
--
Adam
Hello,
I've got a NSMenu with NSMenuItem-s and I would like to support drag&drop from
the menu - so that the users are able to drag the menu items out. However I'm
having problems attaching the even listener - can it be done? The NSMenuItem
only supports an action: message.
-
Hello,
I have a simple NSStatusItem with a menu (no custom views), just using
text as the title.
When I click on it, everything displays fine, however now I would like
to display it programmatically - in other words, simulate a mouse
click on the status item's text.
Currently I'm invoking "
Hello,
On May 19, 2009, at 4:28 PM, Benjamin Stiglitz wrote:
When a menu is open the Menu Manager in HIToolbox handles incoming
events on its own. You be able to capture the events with an
embedded
NSView, but I first need to ask the standard question: what are you
trying to achieve?
Well,
Hello,
...but I first need to ask the standard question: waht are you
trying to achieve?
Adding: mention the scope too - do you want to do this for your app
or all apps and maybe even the Apple menu too? What about context
menus? NSPopUpButton menus and the like?
I want to do this for one m
, so that
I can narrow the items displayed.
How can I embed an NSView? I know I can do that for an NSMenuItem, but
then the menu item must have focus for the view to receive the events,
is it not so?
--
Thanks,
Adam Warski
___
Cocoa-dev mailing list
te letter. Can I somehow
override that behaviour?
--
Thanks,
Adam Warski
___
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