On Fri, Jun 12, 2009 at 6:15 PM, John Ku<[email protected]> wrote: > I got to play around > with your suggestions but still cannot get it to not loose focus. > Thought it did give me a better perspective on how levels, frames, > keys work. > Thank you for that. > I have the NSWindow and removed NSView for testing, but when I clicked on > the NSWindow, it'll still switch focus to it. I got the level working, > always floating ontop of windows, but just need a way for my app to not > become key or attract focus, but still able to receive keyboard/mouse > events.
You can't. If you want to receive keyboard events then you must have focus. If you don't want to have focus, then you can't receive keyboard events. Pick one or the other, because you can't have both. Mike _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
