01-14-2004 11:32 PM
01-15-2004 02:50 AM
05-14-2004 12:29 PM
01-02-2010 02:37 AM
I also ran into this issue. The previous post can be solved easily by the new event structures, but I need to check if a panel is the frontmost in windows as well.
The FP.Is frontmost property returns if a panel is the frontmost Vi within Labview but not if Labview is the frontmost window in windows.
I ran into this as I am making some stuff to use the scollwheel.
As an example I have added two Vi's. Just load & run these, as long as Labview is active this works. But I would like to have something that switches the lights off when I select another Windows application.
I (think I) cannot use the USER32.dll API as I reconstruct a reference to the 'owner vi' using a control reference.
Anyone has some experience with this??