Home > Back-end >  Encounter difficulties, who is the boss to give directions
Encounter difficulties, who is the boss to give directions

Time:09-19

Has opened two pages, IE a 360 baidu, want to let the program according to the specified website such as baidu, and maximize the display in the front and get focus.

CodePudding user response:

You write a browser, can be placed at the top and focus on the function,

CodePudding user response:

Internet explorer to open the web page is the one window is a window on the following two tabs??

If it is to open the web page is the one window, good do you use the
WHandle:=FINDWINDOW (0, 'window title);
The SetForegroundWindow (wHandle);

If is the TAB, you try the above method, the title of the label, if not, you can try
SendMessage send a mouse click or keyboard shortcuts, just think of all the
  • Related