LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

child panel unminimize problem

Hi everybody,
 
i have a big problem in using my CVI 8.5 application with Windows Vista Business (it's compatible, isn't it?).
 
This problem is due to the unminimize function when you use child panels: if you maximize, then minimize and unminimize, all the child panel aren't redrawn.
 
I have seen this problem in all Vista PCs i used and in only one XP PC.
 
At the begin i thought to a video board driver problem, but this appens with different PCs and so.....
 
I have tried to redrawn the panel when this appen, but the sequence maximize-minimize-unminimize haven't are not followed by an event panel.
 
Here attached there are two screenshot, one with the bug and one with how the panel have to be.
Also there is a small program that reproduce the same bug.
 
Please, help me.
Thanks in advance. 
Download All
0 Kudos
Message 1 of 9
(4,890 Views)
Lors,

Yes, Windows Vista Business is a supported operating system. I have tried your attached program on a Vista Business virtual machine with CVI 8.5 installed, and it drew properly when I maximized, minimized, then restored. Can you find anything that is common to the Vista machines and the XP machine that have this problem? Do all these machines display this problem 100% of the time? I would try to find out if they use the same graphics hardware/chipset and/or driver. Compare the hardware and driver to a machine that does not seem to have this problem.

I would also suggest changing the Windows Hardware Acceleration setting to see if this affects the problem. On XP, it is found by going to the Display Properties, clicking the Advanced button on the Settings tab, then going to the Troubleshoot tab of the dialog that comes up.  On Vista, the quickest way I know is to right-click the desktop, pick Personalize, open Display Settings, then Advanced Settings, then the Troubleshoot tab, and press Change Settings.

Mert A.
National Instruments
0 Kudos
Message 2 of 9
(4,868 Views)
Dear Mert A.,
 
all the PCs i have tried are HP and they have installed not dedicated video board (ex. the Vista PC i'm using have the Intel Q965 Express Chipset).
My XP PC (that haven't this problem) have an invidia chipset.
Yesterday, while i'm doing some tests, i discovered that changing display setting the problem disappear: with Windows Vista Basic seems that all works, with Windows Aero, Windows Standard and Windows Classic the problem appear.
Until now all Vista PCs i have tried present the problem, it appear in only one XP PC (a customer PC). 
I tried to update the video board driver, but the problem remains.
Do you think the problem depend on the video chipset driver?
Thank you very much for your help.
Best regards.
 
Lors
 
0 Kudos
Message 3 of 9
(4,861 Views)

I see the same problem on my Dell laptop (with Intel 965 Express chipset; X3100 graphics) running Vista Business, i.e the child panel in the test program is not redrawn with Aero enabled after a maximize, minimize, unminimize, but works fine with Vista Basic color scheme.

--Ian

0 Kudos
Message 4 of 9
(4,847 Views)
I did not test with Aero enabled. I will try this when I get a chance. Though, if it happens on an XP machine, then there is something more to the issue.

Mert A.
National Instruments
0 Kudos
Message 5 of 9
(4,845 Views)

Hi to all, thank you for your reply.

Regarding Windows XP machine, take into account that it was a special case:

  • it is a customer Pc with one of the first Windows XP SP2 version, never updated;
  • I just modified the application (the new one has been developed with CVI 8.5); 
  • it is an HP standard configuration with a not dedicated video board (I don't think with the same chipset of the new one but with something similar).

I don't know what can appen if I update all the system but for now I can't because the customer doesn't allow me to do this.

Best regards.

0 Kudos
Message 6 of 9
(4,839 Views)
I was able to reproduce this on a Vista machine with Aero enabled. If Aero is disabled, the drawing problem does not occur. Also, I noticed that the drawing problem only happens if you minimize the panel from the button in the upper right corner of the window. That is, if you just click the application's button on the taskbar to minimize/restore, everything draws properly.

I have not been able to reproduce this on an XP machine. I am actually a bit incredulous that this would happen on an XP machine, since, from what I've seen, it is directly related to the Aero feature of Vista. I'd like to see a screenshot of the issue on XP, so that we can be sure it's not just user confusion.

I'll file a bug report so that it can be investigated further, and hopefully fixed. For now, a workaround seems to be using the taskbar button to minimize the app.

Mert A.
National Instruments
0 Kudos
Message 7 of 9
(4,768 Views)
Dear Mert,
 
here attached you find a screenshoot of  the bug under Windows XP.
The panel comes from my application; in this panel there is a main panel on which is loaded a child panel on the right.
After the procedure maximize-minimize-unminimize, you see the result in th screenshot.
Best regards.
0 Kudos
Message 8 of 9
(4,736 Views)
I will update the bug report with this information. If you find any more clues regarding this bug on XP, please do post them here.

Thanks.

Mert A.
National Instruments
0 Kudos
Message 9 of 9
(4,718 Views)