Forums list
New topics
Topics list
Search
Help
Login
Register

Messages 11 - 12 of 12
First | Prev. | 1 2 | Next | Last 

Topic: «Stop that a program steels the focus » on forum: Feature Requests   Views: 26702
 
moo tinys
Registered user
 
Posts: 23
Joined: 01/03/2010
Posted: 01/03/2010 07:10:08
 
 
Quote
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
 
Top
Tatiana Jack
Administrator
-retired-
 
Posts: 616
Joined: 08/06/2008
Posted: 09/14/2010 04:20:13
 
 
Gentlemen,

Did you try our new hotkey Alt+Ctrl+Shift+I?

E-mail: support@actualtools.com
 
Top

Messages 11 - 12 of 12
First | Prev. | 1 2 | Next | Last 

User(s) reading this topic
Number of guests: 1, registered members: 0, in total hidden: 0


Forums list
New topics
Topics list
Search
Help
Login
Register