rakkarage's picture


Is there a way to get focus or set focus? NativeWindow.FocusChanged does not seem to fire?
Is there a way to get a window handle?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Focus is not implement it yet.

The fastest way to fix this is to post the code that detects focus changes for the OS you are using. I'll add it to OpenTK and make a release.

the Fiddler's picture

Rev. 2344 implements this for the Windows platform. See issue #1248: [INativeWindow] Implement Focused property and FocusedChanged event.