In my application, I have a few utility panels that I want to be not only frontmost, but always active, I.e. cmd-w always goes to them, even if I click in the main application window.
Getting frontmost is easy, it's a utility panel, and I use
homeTimeOutHud's makeKeyAndOrderFront_(me) --open the window
(The window style atributes are set to utility panel, non activating and document modal are both disabled. )
when I create the window. But, if I click away to the main window, then it starts receiving events, and I don't want that to happen. I poked around NSWindow, and tried a few things, like orderFrontRegardless(), but no love. How does one go about doing this?
Thanks,
john
--
Socks should match your pants, and your belt should match your shoes. After that, if anyone complains, tell ‘em they should be happy you’re wearing any clothes at all.