CEF background paint issue

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

CEF background paint issue

Postby mumutou » Tue Nov 26, 2013 6:44 am

Hi all .
My project use QtWebkit to display the html, now I want to use CEF to replace it. But I found a issue.

My widget contains the cefclient_win, but when I display the html, I can not make it transparent.

examples:
parent widget show a image, cefclient window display the html (such as display string "hello world"), and I set the html background color is transparent, but I can not show the image of background. The image is lay over by white color. How can I make it works?

thanks very much.

best regards
mumutou
Newbie
 
Posts: 8
Joined: Tue Nov 26, 2013 6:37 am

Re: CEF background paint issue

Postby magreenblatt » Tue Nov 26, 2013 9:51 am

On Windows? What CEF version?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF background paint issue

Postby mumutou » Tue Nov 26, 2013 7:49 pm

OS:windows 7
CEF version:3.1547.1412


thanks very much
mumutou
Newbie
 
Posts: 8
Joined: Tue Nov 26, 2013 6:37 am

Re: CEF background paint issue

Postby mumutou » Tue Nov 26, 2013 7:50 pm

branches/1547/cef3@1412
mumutou
Newbie
 
Posts: 8
Joined: Tue Nov 26, 2013 6:37 am

Re: CEF background paint issue

Postby magreenblatt » Tue Nov 26, 2013 8:39 pm

magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF background paint issue

Postby mumutou » Tue Nov 26, 2013 9:04 pm

I don't want to use SetLayeredWindowAttributes API, This API only replace the color.

I think It is only do paint the window background, so maybe have a way to make window background paint disabled.

maybe I want to see the code of chromium? or It is a API to disable it.


thanks very much.
mumutou
Newbie
 
Posts: 8
Joined: Tue Nov 26, 2013 6:37 am

Re: CEF background paint issue

Postby mumutou » Mon Dec 02, 2013 5:36 am

The API of SetTransparentPainting is only support offscreen?
mumutou
Newbie
 
Posts: 8
Joined: Tue Nov 26, 2013 6:37 am

Re: CEF background paint issue

Postby magreenblatt » Mon Dec 02, 2013 9:09 am

mumutou wrote:The API of SetTransparentPainting is only support offscreen?

Correct.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF background paint issue

Postby mumutou » Wed Dec 04, 2013 3:30 am

thanks very much.
mumutou
Newbie
 
Posts: 8
Joined: Tue Nov 26, 2013 6:37 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 52 guests