VB向指定窗口发送消息
答案:1 悬赏:0 手机版
解决时间 2021-04-14 21:33
- 提问者网友:我一贱你就笑
- 2021-04-14 11:40
VB向指定窗口发送消息
最佳答案
- 五星知识达人网友:山河有幸埋战骨
- 2021-04-14 12:10
Private Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Private Const WM_CHAR = &H102Private Sub Command1_Click()
PostMessage &H290B6C, WM_CHAR, Asc("A"), 0
End Sub
Private Const WM_CHAR = &H102Private Sub Command1_Click()
PostMessage &H290B6C, WM_CHAR, Asc("A"), 0
End Sub
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯