On Feb 14, 2017, at 3:44 PM, James Walker wrote:
>
> I have a situation where makeKeyAndOrderFront is making a window visible but
> not key. Just before this call, [theWindow canBecomeKeyWindow] returns YES,
> and just after, [NSApp keyWindow] returns nil. Clicking on the window title
> bar
I have a situation where makeKeyAndOrderFront is making a window visible
but not key. Just before this call, [theWindow canBecomeKeyWindow]
returns YES, and just after, [NSApp keyWindow] returns nil. Clicking on
the window title bar does not make it key. However, if I bring some
other app to
On Apr 15, 2013, at 3:36 AM, Uli Kusterer wrote:
> On 14.04.2013, at 20:20, Pax <45rpmli...@googlemail.com> wrote:
>> [[NSApplication sharedApplication] activateIgnoringOtherApps : YES];
>>
>> Thanks for the suggestion. If it breaks something else I'll be sure you let
>> you know.
>
> Cool, i
On 14.04.2013, at 20:20, Pax <45rpmli...@googlemail.com> wrote:
> [[NSApplication sharedApplication] activateIgnoringOtherApps : YES];
>
> Thanks for the suggestion. If it breaks something else I'll be sure you let
> you know.
Cool, it'd be appreciated!
Cheers,
-- Uli Kusterer
http://stacksmi
Perfect (well, perfect barring extended testing). So far this seems to do the
trick:
[[NSApplication sharedApplication] activateIgnoringOtherApps : YES];
Thanks for the suggestion. If it breaks something else I'll be sure you let
you know.
On 14 Apr 2013, at 17:47, Uli Kusterer wrote:
> I
I think the problem may be your UIElement-ness. It's been ages since I worked
on a UIElement app, and when I did it had to pop something up on the screen
atop of everything, so I just put my window in the floating window layer (or
was it called Utility window level? Well, one of the CGWindowLeve
I want my window to come to the front when I select it. My window (with its
own class to handle it), sadly, has other ideas - and stays resolutely in the
background. Complicating matters, my app is faceless - just a menu item to
show for itself, and no icon in the dock. The code I'm having pr