How to create background window that can't get focus
How to create background window that can't get focus
- Subject: How to create background window that can't get focus
- From: "Crichlow, Eric" <email@hidden>
- Date: Tue, 5 Jul 2005 19:40:27 -0400
I've created an app that runs as a background app and doesn't have a
menu or Dock icon.
I see that I can subclass NSWindow and override functions to keep it
from becoming "key" or "main".
But none of this solves my problem.
I need an app that works like Apple's Character Palette or Keyboard
Viewer. Specifically, I need an app that accepts clicks but never takes
focus. The reason: this app is meant to sit on top of PowerPoint while
PowerPoint is running a slideshow. Clicking on the window should be
recognized by the app, but it shouldn't affect the fact that PowerPoint is
the active app, running in full-screen mode.
So far, with every method I've tried, PowerPoint goes out of full screen
mode, but the PowerPoint app appears to remain the active application. It's
hard to tell for sure because the menu bar disappears. It doesn't work like
that with the 2 Apple apps I referenced above.
Are these apps doing something special with their windows that's
unsupported for the rest of us, or have I just missed the proper setting?
...Thanks...
...Eric Crichlow...
...GTCO CalComp...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden