Can CEF work with MFC or WTL?

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.

Can CEF work with MFC or WTL?

Postby hawkgao » Mon Aug 15, 2011 6:57 am

Hello,
I found CefRunMessageLoop() in code. It takes all massage processing works. MFC or WTL has it's own message framework. They are in conflict to each other.
Is there any way to let them work together?

Thanks,
Shawn
hawkgao
Mentor
 
Posts: 83
Joined: Thu Aug 04, 2011 9:40 pm

Re: Can CEF work with MFC or WTL?

Postby magreenblatt » Mon Aug 15, 2011 10:53 am

You can integrate with MFC and WTL using multi-threaded message loop mode or CefDoMessageLoopWork(). See viewtopic.php?f=6&t=50 and viewtopic.php?f=6&t=348#p1419 for details.
magreenblatt
Site Admin
 
Posts: 11084
Joined: Fri May 29, 2009 6:57 pm

Re: Can CEF work with MFC or WTL?

Postby hawkgao » Tue Aug 16, 2011 6:53 am

I found it so slow when use WTL message loop. When I am sizing the window,cefclient is smoother than my WTL based application. I will drop such heavy framework. Webkit can do most of the UI work now!
hawkgao
Mentor
 
Posts: 83
Joined: Thu Aug 04, 2011 9:40 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot], naoki5 and 29 guests