Tracktion/choc

expose MoveFocus()..

rorywalsh opened this issue · 3 comments

Not so much an issue as a request. I wonder if you wouldn't mind exposing, the MoveFocus() method on Windows. Without it, one can't get keyboard focus to the underlying webview, or at least that's how it appears in my tests.

Sorry, didn't see this issue until just now.

I actually can't remember why there's a commented-out MoveFocus line in the existing code, but this is stuff we're going to be fine-tuning soon. But I'd be reluctant to add a focus method for all platforms just to fix a windows-specific problem so would rather find a way to make it work as the other platforms do if that's possible somehow?

Sure. I'm happy to patch it myself for now. Mac is fine btw, no problems there 👍

Thanks - if you spot any changes that help without affecting the API, I'd be curious to know!