I am trying to get the ClassName of the Opera browser and then read the url from the address bar but I cant seem to get the name of the address bar. What is it? I am using Spy++ and no luck. Other browsers address bars are typically called "Edit" but not in Opera.
Code:
Declare Function GetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long