Well, this is a very annoying little bug...
First, some background information. In Windows Vista, there is a performance
option "Animate windows when minimizing and maximizing". It's in control
panel>System>Advanced system settings (click
continue)>Advanced>Performance>Settings, under custom options. If it's on,
you get very irritating flashing windows, that grow and shrink from the
bottom to it's position or the other way around. I really don't like it, so
I turn it off. I've noticed that it was turn on automatically once in a
while...
Sadly, LabVIEW turns it on again...
In LabVIEW 8.5.1 and 8.6 (but not in 8.2.1):
Create a blank vi.
Put an event structure in it.
Change the time out event to a "Panel Close?" event, and wire "TRUE" to
"Discard".
In the VI Properties>Window Appearance>Customize, untag "Allow user to
minimize window"
Run the VI.
Maximize it (the running vi needs the maximized at least once).
Close the windows.
And the animations option is back on again!
This is so aggressive that even if you don't use custom performance, but
optimize for best performance, the animated windows are turned on, although
the vista tag isn't on...
As a workaround, don't disable "minimize window", or disable "maximize
window"... Perhaps catching those events and performing the acting with
methods will help, but I need to investigate.
Regards,
Wiebe.