Hi all. I wonder how we can highlight and send double click to video library window of paltalk (Video controle console window)?I don't know what class name it has. Most of other listviews got systemlistview32 name but not this one. I tried to get hwnd using following method but it always gives me nothing!!
I be happy if you guys tell me how we can deal with such a listview? Looking forward for replies.Thanks
- Code: Select all
Private Sub Command1_Click()
Dim hWnd As Long
hWnd = getHwnd
End sub
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Function getHwnd() As Long
'this part i used PAT or Jk's API spy 5.1
Dim atlc As Long, atlcf As Long, atla As Long
atlc = FindWindow("atl:008047c0", vbNullString)
atlcf = FindWindowEx(atlc, 0&, "atl:00819cf0", vbNullString)
atla = FindWindowEx(atlcf, 0&, "atl:00819a30", vbNullString)
getHwnd=atla
End Function



