Hi Dobromir,
How is it failling? I've found some issues with using DwmExtendFrameIntoClientArea method. Specifically you must set your window to be a WS_POPUP, setIsTransparent to true on webview, ensure you're using compositing and hardware accelerated rendering, make sure your body tag has a background:transparent or some other RGBA and (obviously) call DwmExtendFrameIntoClientArea once with negative margins. This results in a frameless webview rendered with transparent background. Where this becomes a problem is having to use WS_POPUP. Minimize, maximize, resizing, menuing go out the window, you have to create custom controls to control these and believe me its not easy, all in all it just produces more problems. The performance is good.
This is sort of a windows hack however. If you're using just a standard window instead of WS_POP it will produce a aero glass affect. The bug in windows is the glass affect is not rendered on WS_POP, it just renders transparent. Obviously this turns out to be somewhat of a bad solution, if aero glass is disabled (as it is in Vista Basic and Win7 Basic) it just renders on a black background...
I'm looping back and seeing if UpdateLayeredWindow can help...
On Tuesday, January 15, 2013 7:02:50 AM UTC-7, Dobromir Enchev wrote:
Hello, Trevor. I tried to make this, but failed. Can you post an example somewhere?