LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does using InstallPopup cause OCX objects to disappear

I am using CVI 6.0, Windows XP and several OEM ActiveX controls. When I have a panel displayed with an ActiveX control on it, I cannot use the InstallPopup command to quickly display a modal dialog box. If I do, the ActiveX control disappears or moves to the popup panel. I have seen this on at least 2 different OEM's controls so I am wondering now if it is a CVI problem.
0 Kudos
Message 1 of 2
(2,636 Views)
CVI doesn't have separate HWNDs for every control and panel like Visual Studio does. ActiveX controls usually have their own windows (HWND) they are running in. Some controls, like the ones from National Instruments, let you run in windowed or windowless mode. If your OEM controls allow this, you may want to try running in windowless mode. The OEM controls must have some strange refreshing going on in their windows that are causing the graphics problems. Our applications engineers may be able to help diagnose the problem if you send an example to us via http://www.ni.com/ask.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,636 Views)