求教如何使form1能得到鼠标键盘的信息,谢谢!!!

ahbc123 2004-03-06 02:08:52
求教如何使form1能得到鼠标键盘的信息,谢谢!!!
我有一个窗体和一个flash控件
在下面这一段无法使form1得到鼠标键盘的变化.求教高手如何使form1能得到鼠标键盘的信息,谢谢!!!
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
End
End Sub

Private Sub Form_KeyPress(KeyAscii As Integer)

End
End Sub

Private Sub Form_Load()
Move 0, 0, Screen.Width, Screen.Height '让form1全屏显示
Hidemouse '隐藏鼠标

ShockwaveFlash1.Top = Form1.ScaleTop
ShockwaveFlash1.Left = Form1.ScaleLeft
ShockwaveFlash1.Width = Form1.ScaleWidth
ShockwaveFlash1.Height = Form1.ScaleHeight

ShockwaveFlash1.Movie = "C:\My Documents\db.swf"


End Sub
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
ShockwaveFlash1.Stop
End
End Sub

Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
ShockwaveFlash1.Stop
End
End Sub
...全文
86 点赞 收藏 2
写回复
2 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复

还没有回复,快来抢沙发~

相关推荐
发帖
VB基础类
创建于2007-09-28

7489

社区成员

VB 基础类
申请成为版主
帖子事件
创建了帖子
2004-03-06 02:08
社区公告
暂无公告