Possible To Set Topmost Property In A Web Browser?

G

Gary Brown

Hi,

I need a web browser capable of handling video streams and that will
stay in front of the Z order. There are a number of video streaming
sources I watch that launch a browser window containing the video
from another browser page. I am almost always working on something
else while following the video. Consequently the video disappears behind
the application window I'm using. I've tried staggering my windows to
avoid this but even a 19" LCD is too small.

Is there some clever way of getting IE to stay topmost or is there an
alternate browser that will? The Web Control looks promising but is
there a potential problem with the topmost property or displaying
streaming video (I assume IE uses Windows Media Player)?

This is getting away from C# but the PPLive/PPStream/QQLive
video streaming applications do what I want. Is it possible to extract
the video source URL from a browser so that it can be inserted into
one of those.

Thanks,
Gary
 
P

Peter Morris [Droopy eyes software]

Just plop a browser control into a form which is set to display as the
topmost form, and execute it with the first parameter being the URL to open.
 
G

Gary Brown

Just plop a browser control into a form which is set to display as the
topmost form, and execute it with the first parameter being the URL to
open.

That was easy enough but when my custom browser launches a new browser
from an <A HREF ...> HTML tag it uses IE not my new browser. So far I
haven't found how to change that. Any ideas?

Thanks,
Gary
 
P

Peter Morris [Droopy eyes software]

That was easy enough but when my custom browser launches a new browser
from an <A HREF ...> HTML tag it uses IE not my new browser. So far I
haven't found how to change that. Any ideas?

I don't know about the dotnet component, but the ActiveX one used to have an
OnNewWindow2 event. The OnBeforeNavigate would give you the new URL, and
then the second event would notify you that a new window was required.
 
G

Gary Brown

That was easy enough but when my custom browser launches a new browser
I don't know about the dotnet component, but the ActiveX one used to have
an OnNewWindow2 event. The OnBeforeNavigate would give you the new URL,
and then the second event would notify you that a new window was required.

The current one does also. With a minimal of fiddling and breakpoints it
works!
I now can watch soccer will "working." Thanks to all. Now to see if the
source
HTML can be filtered so only the video is present. That's for another day.

Thanks again,
Gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top