Private Const WM_KEYDOWN=& amp; H100
Private Const WM_KEYUP=& amp; H101
Private Sub Command1_Click ()
PostMessage 66166, WM_KEYDOWN, VK_TAB, 0 & amp;
PostMessage 66166, WM_KEYUP, VK_TAB, 0 & amp;
End Sub
Why VK_TAB invalid? Work in notepad, is not a game, on the web page is invalid, handle correctly
CodePudding user response:
Knot rate of 0 is generally will not be answeredCodePudding user response:
Just the way, in the web page to get the WEBBROWSER handle to handle rather than the EXE