![]() LParam As Any) As Long Public Declare Function PostMessage Lib "user32.dll" Alias "PostMessageA"īyVal lParam As Long) As Long Public Declare Function SetForegroundWindow Lib "user32" ( ByVal hWnd As Long) As Long Public Declare Sub Sleep Lib "kernel32.dll" ( ByVal dwMilliseconds As Long) In a light test this worked for me, though not entirely orthodox and probably a more straightforward way Option Explicit Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( _īyVal lpClassName As String, ByVal lpWindowName As String) As Long Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" ( _īyVal hWnd1 As Long, ByVal hwnd2 As Long, _īyVal lpsz1 As String, ByVal lpsz2 As String) As Long Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( _ The buttons on those IE windows need quite a lot of persuasion to get "clicked" with APIs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |