Jump to content
bilbo221

One-button app to stop all explorer windows from flashing.

Recommended Posts

Thanks for reading my question!

I have an app that spawns multiple explorer windows. The problem is, sometimes these windows will FLASH in the user's taskbar. This is probably an artifact of the way that a new window becomes "activated" when it is instantiated--but, if the user is clicking on something else during the window creation process, then MS Windows assumes that the window should beckon for the user's attention. And thus it "flashes" the window in the taskbar. Which can be annoying for my app users.

 

So basically, my goal is to create a one-button app that will halt all explorer windows from flashing. 

 

<see attached image>

 

One way to do this would be to send focus (activate) the flashing explorer window. The problem with this method is i would have to steal focus away from the user's app. And I don't want to do that.

 

I think another way might be to use some variation of techniques suggested here https://stackoverflow.com/questions/21987/flashwindowex-flashw-stop-still-keeps-taskbar-colored  But i'm not sure.

 

Anyway have any ideas? 

 

Thanks!

app.jpg

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

×