Not sure why… and I’m not sure this is the “right way” but this looks like it works
window_01.makeKeyAndOrderFront(nil)
window_01.level = .normal
window_02.makeKeyAndOrderFront(nil)
/// not this - window_02.level = .floating
// had to use these two lines instead
window_02.level = NSWindow.Level(rawValue: 99)
window_02.orderFrontRegardless()
sigh… now it seems that ANY window in my application remains on over any window from other applications… If I click in another app, it gets the focus, but it stays under my app windows… and even if I remove all the stuff above
Uh… Thanks Sam… but not sure how that applies. I know how to deactivate a window… the issue is a “floating” window, but not a “global floating” window. The same behaviour as the same Xojo window types.
To be honest… I did not realize the a floating window actually vanished when the app lost focus… I just tried it with an Xojo app, and I’ll be darned… it does… So this may be the right solution after all… I’ll try it tommrow and see how it goes… Thanks