Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I keep Visual Studio from autoraising, when I activate "Focus Follows Mouse"?

I'm running VS2008 and have used SystemParametersInfo to activate "Focus Follows Mouse" and "Do not Raise On Focus." Sadly though, VS2008 (with and without SP1) doesn't honour the "Do not Raise" part and eagerly pushes into the foreground every time the pointer touches its window.

A while ago I complained about that on my blog and posted an example app to set the parameters. Two others also reported having that problem, but they too didn't know how to proceed.

How could I fix/workaround this problem? Anything else I should try?

like image 461
David Schmitt Avatar asked Sep 23 '08 13:09

David Schmitt


1 Answers

I know this problem is very old, but it still occurs with VS2019 and this thread is one of the first hits when someone searches for 'auto-raise'.
In my case, I enabled X-mouse via a regedit, and had to live with this behaviour for quite a while.
A couple of days ago I found a solution for Visual Studio autoraising itself when you hover the mouse over a window:
Options -> Environment -> Tabs and Windows -> uncheck both entries under 'Floating Windows'.
('floating tab wells stay on top' and 'floating tool windows stay on top')

like image 94
Yorimyorimyorim Avatar answered Sep 24 '22 01:09

Yorimyorimyorim