LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows 2000 - disable 'autoraise' when focus-follows-mouse?

For convenience when using EDA tools I have my windows 2000 desktop configured as "focus-follows-mouse" with autoraise disabled.  This means I can work in multiple overlapping windows without constantly having the active window coming forward and hiding some other window that I need to see while working in the active window.

 

However, it seems that LabView (8.5 and 8.6) automatically implement autoraise.  That is, as soon as any labview window gets mouse focus, it automatically and instantly raises to the front.  This is particularly annoying if the mouse is just passing over a corner of or partially visible slice of a labview window.    

 

Since there doesn't appear to be any config for this in the user options, is there any other way (registry edits, for example) to disable autoraise in Labview?   Switching back to "click to focus" mode is not an option.

 

Thanks and Best Regards,

 

-- Jeff Buckles

 

0 Kudos
Message 1 of 5
(4,221 Views)

Hi Jeff,

 

I am not sure what is causing this behavior, but there are a couple of settings that you can try that may be able to help with this issue. First, if you go to FIle>>VI Properties and select Window Appearance in the Category dropdown. Select Customize..., and try out the different Window Behavior settings on the right side. I'm not sure if Floating or Modal will change this behavior, but I would try it and see.

 

Also, if you go to Tools>>Options...>>Environment and uncheck Allow drop-through clicks and see if this makes a difference.

 

Regards,

Stephen S.
National Instruments
Applications Engineering
0 Kudos
Message 2 of 5
(4,201 Views)

Thanks, Stephen.  I'll play with those options and see what happens.

I should clarify that this is an issue mostly during development where I have multiple VI panels, block diagrams, documentation, EDA tools, etc. open on screen at once.

 

If you want to try to reproduce it you can use Microsoft's "TweakUI" utility to set the window focus mode.  Select the "Mouse" tab and check "Activation follows mouse (X-Mouse)".  Make sure the other checkbox "Autoraise when activating" is *not* checked.

 

I wonder if the same problem exists under Linux or MacOS with the same focus/autoraise settings?

 

Thanks and Best Regards,

 

J.

 

 

0 Kudos
Message 3 of 5
(4,197 Views)

Happens with LV 7.x too. Very annoying.  Whenever I set up a Windows environment enabling X-mouse without Auto-Raise is the first thing I do, and had to stop that when my present job requires me to use LV.  Interestingly enough when switching between two LV windows, the second one gets focus but doesnt' auto raise, only when coming from a non-LV window to a LV window does this happen.  I'd file it as a bug.

 

And don't get me started on populating the Alt-Tab popups with N LV windows to chose from, which makes it almost impossible to use Alt-Tab to switch away from LV to a non LV window.

 

0 Kudos
Message 4 of 5
(3,833 Views)

This "bug" also happens with LV2010,, quite annoying indeed, especially when trying to use the mouse for copy/paste between terminals just by using X-mouse / MS PowerToys.

I even tried TrueXmouse but it behaves just the same as X-Mouse from Microsoft's PowerToys (bugged).

 

If anyone has a way to make X-Mouse work without LV auto-raising, please let us know.

0 Kudos
Message 5 of 5
(3,161 Views)