Set focus on other window, workaround

title says it all

Set focus on other window, workaround

Postby Arthur on Sat Mar 13, 2004 10:51 pm

Ok,

I noticed that I could not set focus on a window when XLobby was in front of that window. The sendmessage command or the send to front command didn't work.
This is probebly caused because windows doesn't allow a program which has no focus to give an other window focus.
(http://www.girder.nl/phpBB2/viewtopic.php?t=5600&highlight=foreground)

On the above page I found a program (sendfocus.exe) which can be launched from the event manager. You should use the window name as argument. Now when this event is triggerd, the sendfocus program is opend, as a new program it as focus and it is allowed to set focus to the window you specified, after which the program is terminated.
The only thing you see on the screen is the correct window in front of XLobby. Very nice.

Arthur
Arthur
 
Posts: 207
Joined: Thu Dec 25, 2003 8:52 am
Location: The Hague, The Netherlands

Postby noviceboy on Sun Mar 28, 2004 8:45 am

Good tip!
noviceboy
 
Posts: 137
Joined: Fri Dec 19, 2003 1:26 pm
Location: Munich, Germany

Postby Peaced on Sat Dec 04, 2004 7:34 pm

bah link dead, google gave nothing, plz someone can put it online ?

Thx
Peaced
 
Posts: 2
Joined: Sat Dec 04, 2004 5:23 pm

Postby Peaced on Sat Dec 04, 2004 7:35 pm

found it nevermind
Peaced
 
Posts: 2
Joined: Sat Dec 04, 2004 5:23 pm

Postby Arthur on Sun Dec 05, 2004 12:20 pm

It can also be downloaded from my site:
http://home.tiscali.nl/vannoort/xlobby/sendfocus.exe

(if it fails you remove http://)
Arthur
 
Posts: 207
Joined: Thu Dec 25, 2003 8:52 am
Location: The Hague, The Netherlands