VK_PRINT 的目的是什么?
在处理按键时,我假设虚拟键 VK_PRINT
(0x2A) 是键盘上的打印键。但这个假设是错误的。我需要使用 VK_SNAPSHOT
(0x2C),即 VK_PRINT+2
。但是 VK_PRINT
的用途是什么?看着 MSDN,我感觉我们都应该忘记这个键码……
VK_PRINT
是怎么回事?
While processing keys I assumed that the virtual key VK_PRINT
(0x2A) is the print key on my keyboard. But this assumption was false. I need to work with VK_SNAPSHOT
(0x2C) which is VK_PRINT+2
. But what is VK_PRINT
for? Looking at MSDN I got the feeling we should all forget about this keycode...
What's up with VK_PRINT
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信
VK_PRINT
键码来自 83/84 键键盘时代(想想 IBM XT 和 IBM AT 机器)。该键盘上的“打印”键与数字小键盘的“*”键共享(而不是当今常见的PrtSc
/SysRq
键)。有关详细信息,请参阅 http://www.quadibloc.com/comp/scan.htm IBM PC 兼容键盘的历史。
I believe the
VK_PRINT
keycode is from back in the days of the 83/84 key keyboard (think IBM XT and the IBM AT machines). The 'Print' key on this keyboards was shared with the numeric keypad's '*' key (instead of thePrtSc
/SysRq
key as is usual today).See http://www.quadibloc.com/comp/scan.htm for some details on the history of IBM PC compatible keyboards.