How to highlight and send double click to video library rows

You can talk about VB programming here

How to highlight and send double click to video library rows

Postby method » Sun Apr 12, 2009 3:17 pm


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
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Re: How to highlight and send double click to video library rows

Postby String » Sun Apr 12, 2009 7:22 pm

I'm not yet sure which listview you are referring to. Where?
String
imFiles Senior
imFiles Senior
 
Posts: 282
Joined: Mon Mar 10, 2008 7:06 am

Re: How to highlight and send double click to video library rows

Postby method » Sun Apr 12, 2009 8:14 pm

String wrote:I'm not yet sure which listview you are referring to. Where?


on palgtalk 9.6 you can play video in the room. Action==> play video in the room. There is a list view where all your video listed.
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am


Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests