Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
1.44/5 (3 votes)
See more:
In a MFC application, I want to use a web control capable of executing CSS animations.
Is there a web control (usable in MFC app) capable of executing CSS animations?
Posted
Comments
Leo Chapiro 25-Jul-14 8:33am    
Do you mean again C# (as required)? http://www.codeproject.com/Questions/800781/JSON-objects-in-MFC-context?arn=16
arpoador 25-Jul-14 8:37am    
This question is not about C#, it's plain MFC, with a web control activex.

The only one Web Control in MFC is WebBrowser Control: http://msdn.microsoft.com/en-us/library/aa752046%28v=vs.85%29.aspx[^]

This control works like IE and supports CSS: http://msdn.microsoft.com/en-us/library/aa770041%28v=vs.85%29.aspx[^]

You can set pchHostCss to a pointer to a string with Cascading Style Sheets (CSS) rules that you want to apply globally to any page displayed in the WebBrowser control. The final member of DOCHOSTUIINFO is pchHostNs. This is also a string pointer with which you can provide a semicolon-delimited list of namespaces. Use this member when you use custom tags on the pages you're displaying in the WebBrowser Control. This way you can have a global declaration for namespaces and don't have to declare them on each displayed page.
 
Share this answer
 
v2
Comments
arpoador 25-Jul-14 8:55am    
Thanks, I'm gonna check that.
As far as I could understand, the web controls (C++ and C#) are *not* capable of executing CSS 3.0. So, their engines are not as updated as IE11's.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900