LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pushing Active X Browser to background

Hi,

What I would like to do in Labview 6.1 is to have an internet browser window in the background (done using an active X container but any other way would be fine too) and to superimpose a picture over the front of it so that I can highlight certain parts of the webpage using a flashing circle.

Is this possible? I have the container but I can't get it to go to the background.

Thanks,

Ken
0 Kudos
Message 1 of 11
(4,688 Views)
Hi Ken,

Are you unable to successfully use the reorder tool available on the toolbar for sending to front/back etc? I'm not running 6.1 so can't try this myself.

Are you able to do this with other objects other than the picture control?
0 Kudos
Message 2 of 11
(4,676 Views)
As far as I can tell, move to back works with all other types of objects except for Active X containers. I just can't get the pitcture control to appear above the container i.e. superimpose the picture control's contents over a browser window.

Ken
0 Kudos
Message 3 of 11
(4,674 Views)
Ken,

I've just tried LV6.1 and it seems to work fine for myself. I can happily send picture control to front/back etc. Is it possible to post a vi that demos what you are using and I will see if I can send to front/back?
0 Kudos
Message 4 of 11
(4,667 Views)
You can't.
 
ActiveX container is not an ordinary LabVIEW object.  It's a child window.  So it's always above all LabVIEW objects.
 
 
George Zou
 
George Zou
0 Kudos
Message 5 of 11
(4,660 Views)
Is there any other way of getting a browser window on my front panel and being able to move that to the back, behind picture controls?

Ken
0 Kudos
Message 6 of 11
(4,657 Views)
No.  Any window, if set as child window (so it's on your front panel), always in the front of any LabVIEW objects.
 
Work around:
1. Put picture control on another window/panel, and set that window as child window too.
2. Capture browser window, and display it in another picture control.
3. Hide browser window.
4. Put picture control on another vi, and set the vi to topmost.
....
 
 
George Zou
George Zou
0 Kudos
Message 7 of 11
(4,654 Views)
The next obvious question is how to get the Picture control to appear as a child window? i.e. appear on my front panel so that I can place it over the browser window?

Thanks for the help by the way

Ken
0 Kudos
Message 8 of 11
(4,645 Views)
Put the picture control on a subvi.  Use SetParent to make the subvi front panel as a child window.
Search this forum, you will find a lot thread about child window.  You've to calculate the position of
the child window, and avoid jumping back and force.
 
George Zou
George Zou
0 Kudos
Message 9 of 11
(4,641 Views)
Is it possible to make the background of the child window transparent so that if I stack up 2 on top of each other I can see the contents of the lower one?

Ken
0 Kudos
Message 10 of 11
(4,633 Views)