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

Fix HWND on windows #91

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

ohowe1
Copy link

@ohowe1 ohowe1 commented Aug 11, 2023

The GetActiveWindow call was in a different thread then the one that the user's application would be running in, so it returned a nullptr. This moves the call to the thread the user requested the dialog from.

PeterJohnson pushed a commit to wpilibsuite/allwpilib that referenced this pull request Aug 12, 2023
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

Successfully merging this pull request may close these issues.

1 participant