This commit is contained in:
sc committed 2023-10-18 19:22:53 +08:00
commit e10e3293ba
2 files changed
+3 -6

No files matched your search

-4
View File
@@ -30,15 +30,11 @@ namespace formula_manage
const int KEYEVENTF_KEYUP = 0x2;
if (up)
{
keybd_event((byte)key, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, (UIntPtr)0);
}
else
{
keybd_event((byte)key, 0x45, KEYEVENTF_EXTENDEDKEY, (UIntPtr)0);
}
}