Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to pass a key to a parent GUI control #43

Open
stevium opened this issue Jul 5, 2018 · 2 comments
Open

Add a way to pass a key to a parent GUI control #43

stevium opened this issue Jul 5, 2018 · 2 comments

Comments

@stevium
Copy link

stevium commented Jul 5, 2018

Is there any way to switch the focus from ConEmu to a hosting application without using the mouse?

I am experimenting with this Visual Studio extension: https://github.com/Therena/ConEmuIntegration, trying to intercept keys before ConEmu. I have tried using the SetWindowsHookEx native methods from user32.dll to install a custom Keyboard Procedure, but with no success. Only special hotkeys, like Alt+Tab, Alt+Esc, etc., work.

ConEmu is a remarkable project, but not being able to intercept any keys before it, and thus having to use the mouse for switching to other GUI controls, degrades the experience of using the ConEmu-inside to a great extent.

@Maximus5
Copy link
Owner

Maximus5 commented Jul 5, 2018

For proper interaction conemu-inside should be rewritten in WPF, but I haven't enough time for that unfortunately

@stevium
Copy link
Author

stevium commented Jul 8, 2018

Thank you for the response.
In the meantime I have found a workaround for Visual Studio using AutoHotkey.
But anyways, exposing something like OnKey event by ConEmu API would be of great use for embedding it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants