Page 1 of 1

Can CEF work with MFC or WTL?

PostPosted: Mon Aug 15, 2011 6:57 am
by hawkgao
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

Re: Can CEF work with MFC or WTL?

PostPosted: Mon Aug 15, 2011 10:53 am
by magreenblatt
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.

Re: Can CEF work with MFC or WTL?

PostPosted: Tue Aug 16, 2011 6:53 am
by hawkgao
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!