开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜