Jump to content
Sign in to follow this  
Tommi Prami

Does Filter Exceptions make Delphi to steal focus

Recommended Posts

I am not 100% sure is it Filter Exceptions, but I'll filter quite a lot expected exceptions in unit tests, and can't do anything while it is running because Delphi keeps up jumping in front of everything all the time.

 

Can someone confirm this? (or debunk my theory :)  ) . I'll look into it, if I can temporarily disable it (Have not checked yet, had to write this message so I do not forget)

 

-Tee-

Edited by Tommi Prami

Share this post


Link to post
46 minutes ago, dummzeuch said:

Yes, it is the culprit. And unfortunately I see no way to solve this.

Thanks.

Damnation 🙂 Anyhow it is good feature.

 

-Tee-

Share this post


Link to post
On 10/15/2020 at 10:00 AM, Kas Ob. said:

May be setting a message hook and monitor for WM_KILLFOCUS, might help restoring the last focus.

 

https://stackoverflow.com/questions/285406/detecting-an-application-focus-change-hooking-something-for-hwnd-changes

Restoring the focus is not the problem, but it stealing it.

IDE is jumping in front of all apps all the time if used Extensively. Can't use any other app then.

 

-Tee-

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×