We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好,首先要感谢您的程序。 我给出两个改进的建议: 1:有的时候需要长时间按下ctrl的时候(使用快捷键),使用您的程序会导致ctrl失效,可以在callback 中修改判断条件 (nCode >=0) 为 (nCode >= 0&&(((KBDLLHOOKSTRUCT)lParam)).vkCode!=162) 以取消对 ctrl 的屏蔽 2:在main 函数中添加下面语句即可隐藏命令行窗口 if(IsWindowVisible(GetConsoleWindow()) == true){ ShowWindow(GetConsoleWindow(), SW_HIDE); }
The text was updated successfully, but these errors were encountered:
其实那个ctrl的问题是因为,长按ctrl的机制也是多次触发。用这个程序会导致长按的触发间隔与delay_time取max,默认delay_time是100ms,ctrl就很难和别的键同时按下了。
Sorry, something went wrong.
No branches or pull requests
您好,首先要感谢您的程序。
我给出两个改进的建议:
1:有的时候需要长时间按下ctrl的时候(使用快捷键),使用您的程序会导致ctrl失效,可以在callback 中修改判断条件 (nCode >=0) 为 (nCode >= 0&&(((KBDLLHOOKSTRUCT)lParam)).vkCode!=162) 以取消对 ctrl 的屏蔽
2:在main 函数中添加下面语句即可隐藏命令行窗口
if(IsWindowVisible(GetConsoleWindow()) == true){
ShowWindow(GetConsoleWindow(), SW_HIDE);
}
The text was updated successfully, but these errors were encountered: