|
-
May 5th, 2000, 08:40 AM
#1
Thread Starter
Addicted Member
Im trying to focus
on the combobox to type in
a webaddress and go there..
The Classnames are..
ieframe
rebarwindow32
combobox
edit
I tried to get focused on rebarwindow32
but it would do it.. what am I doing wrong??
Is there a easier way??
The code im using..
------
Dim hwnd As Long
Dim Bar As Long
hwnd& = FindWindow("ieframe", vbNullString)
Bar& = FindWindowEx(hwnd&, 0&, "rebarwindow32", vbNullString)
If Bar = 0 Then
MsgBox "Couldnt Find ComboBox."
End
Else
MsgBox "Found IT!."
End
End If
------
Help?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|