-
Notifications
You must be signed in to change notification settings - Fork 46
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
KeyDown, KeyUp, GotFocus, LostFocus #31
Comments
I have no idea, but would welcome a PR if you figure this out. |
I haven't tried the focus events, but have the same issue with KeyDown and KeyUp. I'll try digging, Varon. Edit: I Got KeyUp & KeyDown working, these are awaiting a PR. I'm not sure why the GotFocus and LostFocus aren't working though. I'll try tracking it down more later. |
I'm going to reopen this issue with the goal of having a "proper" fix for events where we don't have to redirect all of them. |
@NogginBops see my issue #82 pertaining to a bug with the current redirection scheme. |
#86 fixes this. |
Is there something I'm missing in order to use these events in the control? MouseMove, SizeChanged, and Render work fine.
<glWpfControl:GLWpfControl
x:Name="OpenTkControl"
KeyUp="OpenTkControl_KeyUp"
MouseMove="OpenTkControl_MouseMove"
LostFocus="OpenTkControl_LostFocus"
GotFocus="OpenTkControl_GotFocus"
Loaded="OpenTkControl_Loaded"
SizeChanged="OpenTkControl_Resize"
Render="OpenTkControl_OnRender"
/>
The text was updated successfully, but these errors were encountered: