I've been trying to figure this out for a while now but can't find any good examples. Here's what I have:
lngR is always 0. What am I doing wrong or is there a place I can get some good examples?
Code:
Dim test As Long
lngR = FindWindow(vbNullString, "caption at top of internet explorer")
test = SendMessage(lngR, WM_LBUTTONDOWN, 0, -1)
DoEvents
Text = SendMessage(lngR, WM_LBUTTONUP, 0, -1)
DoEvents
Sleep (1500)
test = SendMessage(lngR, WM_LBUTTONDOWN, 0, -1)
DoEvents
Text = SendMessage(lngR, WM_LBUTTONUP, 0, -1)
lngR is always 0. What am I doing wrong or is there a place I can get some good examples?