display html5 page in the application Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
chenbin.sh
Experienced Solver
Experienced Solver
Posts: 64
Joined: Fri Apr 17, 2009 7:15 am
Location: Sydney, Australia
Contact:

display html5 page in the application

Post by chenbin.sh » Sun Dec 09, 2012 11:37 am

I want to display html5 page using twitter-bootstrap in my application. The html page should be stored in memory because I want to update the html rendering frequently. It's kind of like some interactive html design page, when user tweak something in the control panel, he/she will get the visual feed back immediately.

My question is if I use wxWebkit (or webkit directly?), any catch up? Any problem if I use wxFileSystem together with webkit?
help me, help you.
http://blog.binchen.org

User avatar
doublemax
Moderator
Moderator
Posts: 15655
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: display html5 page in the application

Post by doublemax » Sun Dec 09, 2012 11:40 pm

With wxWebView both things should be possible. But as it's a relatively new control, it's always possible there are some bugs in it. Just try it and if you encounter bugs, report them.
Use the source, Luke!

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Re: display html5 page in the application

Post by Auria » Thu Dec 13, 2012 12:16 am

wxWebView can do it... except on Windows < 8. Since this control uses Internet Explorer on Windows, and IE versions prior to 10 have limited to no HTML 5 support (well you may get lucky and get sufficient HTML5 support from IE9, but in IE < 9 forget about it, HTML5 won't work)
"Keyboard not detected. Press F1 to continue"
-- Windows

User avatar
tierra
Site Admin
Site Admin
Posts: 1343
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

Re: display html5 page in the application

Post by tierra » Tue Dec 18, 2012 3:37 pm

For what it's worth, the Twitter Bootstrap framework mentioned here is compatible with IE7+, it just degrades a bit and doesn't look as nice.

HTML5 is designed to work even in older browsers, so chenbin.sh should be fine with wxWebView even on Windows XP with IE7.

chenbin.sh
Experienced Solver
Experienced Solver
Posts: 64
Joined: Fri Apr 17, 2009 7:15 am
Location: Sydney, Australia
Contact:

Re: display html5 page in the application

Post by chenbin.sh » Wed Dec 19, 2012 6:57 am

Thanks for everyone. Now it's pretty clear. I will use wxWebView.
help me, help you.
http://blog.binchen.org

Post Reply