White fl

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

White fl

Postby imourad » Wed Aug 13, 2014 6:37 am

I'm using CEF3 32bit Release on windows8.

My application has a black background. While resizing the window I notice a white background color (flashing) in the area I'm dragging it from.

I can notice the same behavior in chromium browser but the flashing is in grey.

This problem doesn't show up on Mac.

Could this be caused by performance issues ? Is there any solution to it ?
imourad
Newbie
 
Posts: 2
Joined: Wed Aug 13, 2014 6:25 am

Re: White fl

Postby magreenblatt » Wed Aug 13, 2014 8:07 am

Set CefSettings.background_color to black.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: White fl

Postby imourad » Wed Aug 13, 2014 11:54 am

I have set the background to black in the cefclient example as follows:

settings.background_color = CefColorSetARGB(1, 0, 0, 0);

I can see now that the background is black before the app is loaded but the white background colour issue is still there.

Could it be another window handle I need to colour in black ?
imourad
Newbie
 
Posts: 2
Joined: Wed Aug 13, 2014 6:25 am

Re: White fl

Postby magreenblatt » Wed Aug 13, 2014 3:55 pm

Did you set the parent window background color? See http://code.google.com/p/chromiumembedd ... il?id=1161 for examples.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 47 guests