QQ快闪 VB源码

页面导航:首页 > 软件编程 > vb.net > QQ快闪 VB源码

QQ快闪 VB源码

来源: 作者: 时间:2016-01-21 10:23 【

Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As LongPrivate Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const WM_COMMAND = &H111

Private Sub Command1_Click()
    Dim hWnd As Long
    hWnd = FindWindow("#32770", "")
    SendMessage hWnd, WM_COMMAND, "12479", 0
End Sub

Private Sub Command2_Click()
    Dim hWnd As Long
    hWnd = FindWindow("#32770", "")
    SendMessage hWnd, WM_COMMAND, "12514", 0
End Sub
Tags:

文章评论

最 近 更 新
热 点 排 行
Js与CSS工具
代码转换工具

<