You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
The instant I add "new Twain(new WinFormsWindowMessageHook(this));" to my winform, that form falls out of the foreground when it starts up. It ends up jumping behind other windows and I have to click on it or its start bar icon to bring it forward again. I'm not sure what the issue since the message prefilter isn't called until a scan, but it is definatly related to this line of code.
The text was updated successfully, but these errors were encountered:
Yes, the same happens with me.
Workarund until better solution found: calling this.Focus(); in the ScanningComplete event handler to bring back the window to the front. Not the best, but less annoying than having to get back my app from the taskbar.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The instant I add "new Twain(new WinFormsWindowMessageHook(this));" to my winform, that form falls out of the foreground when it starts up. It ends up jumping behind other windows and I have to click on it or its start bar icon to bring it forward again. I'm not sure what the issue since the message prefilter isn't called until a scan, but it is definatly related to this line of code.
The text was updated successfully, but these errors were encountered: