Christian, et. al, 

Here is what I am trying to do: I have a simple status item displaying an 
NSImageMBS. If the user clicks it, I want the menu to display, but if the user 
right-clicks the image I want to *not* display the menu and do something 
different. Should be simple, no?

What I am seeing is that with the correct “SendActionOn” mode set, the Action 
event will indeed fire. Unfortunately as soon as I attach a *menu* to the 
StatusItem, the Action events are no longer raised. Do I need to *not* attach 
the menu and then display it manually in the Action event, and if so, how would 
that be done?

Cheers.

-bill k

> On Jun 5, 2019, at 10:47 AM, Christian Schmitz 
> <[email protected]> wrote:
> 
> 
> 
>> Am 05.06.2019 um 10:35 schrieb William Koperwhats 
>> <[email protected]>:
>> 
>> I did. It doesn’t trigger when the status item is clicked. Maybe it should?
> 
> Depends.
> 
> Maybe you missed NSStatusItemMBS SendActionOn method to configure it?
> 
> Sincerely
> Christian
> 
> -- 
> Read our blog about news on our plugins:
> 
> http://www.mbsplugins.de/
> 
> 
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> %(list_address)s
> https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
%(list_address)s
https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to