-
Notifications
You must be signed in to change notification settings - Fork 14
Added new Form Field: "Interkey Delay (ms)" #7
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like this is missing the added tbInterkeyDelay control, size changes, etc. - possibly an earlier commit? |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
using System; | ||
using System.Diagnostics; | ||
using System.Runtime.InteropServices; | ||
using System.Threading; | ||
using System.Windows.Input; | ||
|
||
|
||
|
@@ -92,7 +93,8 @@ private IntPtr HookCallback(int nCode, IntPtr wParam, IntPtr lParam) | |
if (keyPressed == Key.F8) | ||
{ | ||
// Call Type Clipboard | ||
_tc.TypeClipboard(100); | ||
// ToDo: Implement get values of interkeyDelay and delay from the form | ||
_tc.TypeClipboard(20, 100); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given the screenshot below, looks like this was an earlier commit? |
||
|
||
// Prevent key bring pressed further into the app | ||
return new IntPtr(1); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I understand the UI benefit to WS_EX_TOPMOST and ShowWithoutActivation, but is there a particular burning reason for the change?
(I suspect there may be issues with non-MS RDP apps which do funny things with low-level keyboard handlers, like Horizon View)