Ok guys,
I used PAT or JK's API SPY 51.exe as an API spy. I then checked the option to generate the code that clicks the button I release the cursor on. The code generated is supposed to click the play button on winamp from my visual basic application. It generated this
Code:
Private Sub Command1_Click()
Dim winampvx As Long
winampvx = FindWindow("winamp v1.x", vbNullString)
Call SendMessageLong(winampvx, WM_LBUTTONDOWN, 0&, 0&)
Call SendMessageLong(winampvx, WM_LBUTTONUP, 0&, 0&)
End Sub
But see... FindWindow isnt declared nor is SendMessageLong. I believe I need a module for this? What do I need to make this work? I'm sorry for the bad explanation I don't know how else to put it. Thanks for the help in advance.