thetechfreak
3rd May 2002, 08:23
ive put the following in a vb project
<code>
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Dim hwndWinamp as long
hwndWinamp = FindWindow("Winamp v1.x",vbNullString)
</code>
but how do i use it to get title etc... , what is the VB equivalent of sendmessage for C++?
<code>
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Dim hwndWinamp as long
hwndWinamp = FindWindow("Winamp v1.x",vbNullString)
</code>
but how do i use it to get title etc... , what is the VB equivalent of sendmessage for C++?