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

OpenTkControl_OnRender not being called #147

Open
ping11700 opened this issue Nov 9, 2024 · 2 comments
Open

OpenTkControl_OnRender not being called #147

ping11700 opened this issue Nov 9, 2024 · 2 comments

Comments

@ping11700
Copy link

ping11700 commented Nov 9, 2024

<Window> <glWpfControl:GLWpfControl x:Name="OpenTkControl" Render="OpenTkControl_OnRender" /> </Window>

OpenTkControl in wpf window, OnRender not being called while dragMove that window.

@NogginBops
Copy link
Member

Do any other controls paint dynamically while the window is moving?

This is a limitation in windows that makes it pretty hard to deal with repainting windows while they are moving. If regular WPF controls support drawing while the window is moving we can try and support that too, but otherwise we are aiming to do what most WPF controls do.

@ping11700
Copy link
Author

wpf window not call OnRender while being dragmoved, what should we do that video in OpenTkControl cant render with the window's moving.

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