moo tinys
Всего сообщений: 23
Дата регистрации: 03.01.2010
|
Создано:
03.01.2010 07:10:08
|
 |
Цитата |
---|
Tatiana Jack wrote: But we are thinking that it is exaggerative method. |
i don't think so
i'm not sure but i guess there're many methods that an application uses to steal focus, some of them can be prevented by foreground locking (set by ForegroundLockTimeout in winxp+), like any normal app, but some not (like pidgin that uses gtk), and QQ.exe, and SRS Audio Sandbox.
when SRS Audio Sandbox is set as "Technology: Auto Tech" which is default, it will steal focus anyway when it switch Technology. This is annoying for full screen game. Simply switching back is unacceptable.
if you think it's hard to implement, you may check the following article http://www.codeproject.com/KB/DLL/funapihook.aspx with this way, you can hook(redirect/rewrite) api calls in each application
guess (or trace if possible) how an app invoke system api to steal focus. by focusing the window? by min and then restore the window? by setting and then clearing "always on top"? after you're sure how an app steal focus, make an option allow us users to set when and how to prevent it
i suggest that only hook (detour) the api if we want to for better compatibility, and unhook when we don't want it
|
Tatiana Jack
Администратор
-retired-
Всего сообщений: 616
Дата регистрации: 06.08.2008
|
Создано:
14.09.2010 04:20:13
|
Gentlemen,
Did you try our new hotkey Alt+Ctrl+Shift+I?
E-mail: support@actualtools.com
|