键值检查 [英] Key values checking
本文介绍了键值检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何检查特定按键是否被按下.
如果我多次按下同一键,那么所有按过的时间也应该存储在向量数组中.
how to check whether that particular key is pressed.
if i press the same key more than once also all elapsed times of the key press should be stored vector array.
推荐答案
给出eh标签(MFC)我想你是制作Windows应用程序.
从这个意义上讲,您拥有一个具有处理消息能力的过程(或类).
WM_KEYDOWN [
Given eh tags (MFC) I suppose you are making a windows application.
In this sense, you shold have a procedure (or a class) with teh capability to handle messages.
The WM_KEYDOWN [^]message tells exactly those information.
这篇关于键值检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文