Questions tagged [focus-stealing]
11 questions
18
votes
1 answer
How can I prevent focus stealing in Windows?
A quick Google search for solutions to Focus Stealing in Windows reveals two main result categories:
People suggesting incomplete solutions involving the
ForegroundLockTimeout registry entry (or TweakUI, which I believe simply changes the…

lunixbochs
- 21,757
- 2
- 39
- 47
13
votes
5 answers
How to programmatically minimize opened window folders
How can I get the list of opened of folders, enumerate through it and minimize each folder programmatically?
At times some opened folders do steal focus from the tool when jumping from one form in the application to another. Preventing this is of…

nawfal
- 70,104
- 56
- 326
- 368
5
votes
0 answers
Python Selenium - How to avoid the "switch_to_window()" function to steal focus?
I have this. It's a Python programm to automate the download of documents from our intern company website. I used Webdriver Chrome.
For that, the Python Programm opens a first windows (0), gives the document number and then a second windows will…

Meriole
- 127
- 8
5
votes
2 answers
Opening a Hidden Internet Explorer Window without it getting Focus?
I want to open a hidden Internet Explorer window without it stealing focus. I have a Timer object that opens Internet Explorer every 5 minutes to check a website for updates. The problem is every time it checks for updates, it steals focus from the…

enlilbinny
- 51
- 1
- 6
5
votes
2 answers
How to prevent a Java graphical program from stealing focus when updating the window?
On an (embedded) Ubuntu 12.04 system, we have a simple Java program that displays some graphics patterns on a window, updating every second or so. We use it to monitor some processes running on the system. The problem is that while it is active and…

ysap
- 7,723
- 7
- 59
- 122
3
votes
2 answers
WindowsFormsHost steals focus on activating application even activating by application's other wpf form
To Reproduce my case (.net 4.0)
Create a WPF Application (MainWindow.xaml)
Add a Winform user control that contains a textbox (UserConrol1.cs - Winform)
Put UserControl1 into MainWindow.xaml with windowsformshost
Add another WPF Window that…

yunus
- 83
- 2
- 9
1
vote
1 answer
Steal focus to implement system-wide search box
in my application (http://tabbles.net) I need to offer a "global search" shortcut key like you see in google desktop: if you press CTRL+CTRL at any time (regardless of which application is active and has keyboard focus), a dialog box must pop up…

seguso
- 2,024
- 2
- 18
- 20
1
vote
0 answers
How to block a third party java app from stealing focus all the time?
We use a third party java app that everytime it updates steals the focus away. What I would like to do is isolate this single event for this single program and ignore/block it somehow. I am willing to write a short exe to do this, but what api…

cowboy35
- 11
- 2
1
vote
1 answer
how to detect and prevent focus stealing in android app
Q1: Is it possible to detect if another Android App is stealing the focus of your own App?
Q2: Is it possible to prevent another Android App from stealing the focus of your own App?
I only see the audio focus "take over" within the docs, but not the…

user504342
- 945
- 2
- 16
- 36
0
votes
1 answer
how do i keep a specific window of another program from stealing focus (C# ?)
i'm using a certain program that has a multitude of windows and each and every one of those windows might steal focus at certain times (mostly when they open).
i would like to prevent a specific window from stealing focus when it opens (and also at…

xyious
- 1,065
- 4
- 13
- 29
-1
votes
2 answers
How can it be possible to steal focus so easily?
Using Outlook 2013 on Windows 7, I created this Macro, just to test it:
Private Sub Application_Reminder(ByVal Item As Object)
Activeexplorer.Activate
End Sub
Whenever I am working on a different application and an Outlook reminder fires,…

Evolve_or_Die
- 119
- 2
- 9