02-11-2008 12:47 PM
02-11-2008 12:50 PM
02-11-2008 01:26 PM
08-22-2008 04:00 AM
Hi Gustavo
I've had a similar problem for ages (I'm using CVI 8.0.1, but the problem was already there with 5.5 AFAIR): each time I minimized my app (with the minimize button, or with the WIN-M /WIN-D key), I couldn't restore it. If I tried to restore it with a left click on the taskbar or with Alt-Tab, the application didn't appear again and I had to kill it.
I've just found the reason why this morning. It is linked to the fact that my application was starting up maximized. Without this option, the problem wasn't there.
The solution was then to put the line
SetPanelAttribute (mainwindow, ATTR_WINDOW_ZOOM, VAL_MAXIMIZE);
after the line
DisplayPanel (mainwindow);
and not before, as it was until this morning. Since then, minimizing works at once..
I guess it's a bug of CVI but I can live with it now. 😛
Best Regards
Yves