Try observing mouse events and calling
[NSApplication activateIgnoringOtherApps:YES]
In the mouse down event… that works for me… see Dragan’s plist settings for the
correct way to remove from Dock et all…
Sandor
> On Oct 21, 2022, at 15:44, Richard Charles wrote:
>
>
>> On Oct 21, 2022,
Drgan,
>
> On Oct 21, 2022, at 05:37, Dragan Milić via Cocoa-dev
> wrote:
>
>
>> On 20. 10. 2022., at 01:22, Sandor Szatmari wrote:
>> I have a status item and in order to get it to show I have to call this in
>> my code that orders in the view/window
>> [[NSApplication sharedApplication]
> On 20. 10. 2022., at 01:22, Sandor Szatmari wrote:
>
> I have a status item and in order to get it to show I have to call this in my
> code that orders in the view/window
>
>[[NSApplication sharedApplication] activateIgnoringOtherApps:YES]
>
> I have no idea if this is the best way to