Transparent NSWindow And mouseDown Events
NickMtl <[email protected]> Thu, 1 Jul 2010 19:08:22 -0400
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm using a transparent NSWindow containing an NSSearchField so that I can do search over my NSOpenGLView-based app. Everything works well but switching between the front and back view requires two mouse clicks as the first is used for changing focus. This gives the impression that the app is irresponsive when in fact it's waiting for the second click. Is there a way to get a -mouseDown event *and* a change of focus at the same time? Yes I know about layer-backed views but they look awful in that mode (tons of aliasing). I also know that CoreAnimation is a more elegant way to mix Cocoa controls with OpenGL, but I don't have the time to rewrite this release. Any help would be greatly appreciated, -- - Nick -