标题:问个问题呵·
只看楼主
py12315
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-7-6
 问题点数:0 回复次数:0 
问个问题呵·
我在visual c++
    windows form

使用键盘事件时编译已经成功但敲键盘的时候一直没有反应,为什么呢`?
代码如下:
private:
System::Void Form1_KeyDown(System::Object^  sender, System::Windows::Forms::KeyEventArgs^  e){
if(e->KeyCode == System::Windows::Forms::Keys::Up){
label1->Text = "1";
}
}
2010-07-06 17:02



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-312277-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.164990 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved