开发者

WIN32 C, how to check if a virtual key is a character?

开发者 https://www.devze.com 2023-03-31 10:31 出处:网络
VK_LEFT is not a chara开发者_运维百科cter but VK_A is. How can I differentiate them? Thanks.Not sure there is a really clean way to do this, but try looking at ToAscii or ToAsciiEx: if you get a 0 the

VK_LEFT is not a chara开发者_运维百科cter but VK_A is. How can I differentiate them? Thanks.


Not sure there is a really clean way to do this, but try looking at ToAscii or ToAsciiEx: if you get a 0 then it is a control character like VK_LEFT.

0

精彩评论

暂无评论...
验证码 换一张
取 消