AxWebBrowser, Transparency?

  • Thread starter Thread starter Hugh
  • Start date Start date
H

Hugh

Hi all,

I'm using the Web Broswer control on a project that I'm working on, as I'm
using HTML as my primary user interface. Is it possible to make the browser
control background transparent, so I can still see the windows form stuff
underneath, but have the HTML text still on top?

It may be a long shot, but any help would be appreciated.
Cheers.
 
Hugh,

I don't think that this is possible. You would have to hook into the
rendering of the browser control itself. I don't believe there are any
provisions either in HTML to indicate that a background should be
transparent, or something of that nature. It is always a solid color.

Hope this helps.
 
Thanks for your reply, I thought that might be the case.

Are there any other ways of displaying HTML in a manner like this that would
allow the form below to still be visible?

Nicholas Paldino said:
Hugh,

I don't think that this is possible. You would have to hook into the
rendering of the browser control itself. I don't believe there are any
provisions either in HTML to indicate that a background should be
transparent, or something of that nature. It is always a solid color.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hugh said:
Hi all,

I'm using the Web Broswer control on a project that I'm working on, as I'm
using HTML as my primary user interface. Is it possible to make the browser
control background transparent, so I can still see the windows form stuff
underneath, but have the HTML text still on top?

It may be a long shot, but any help would be appreciated.
Cheers.
 
Back
Top