Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: codemania on June 07, 2007, 07:39:54 pm

Title: [wxSmith] wxhtmlwindow question!
Post by: codemania on June 07, 2007, 07:39:54 pm

I would like to view html on a frame.

How to use wxhtmlwindow?

When I build a new project with wxhtmlwindow and don't modify the "url" parameter, I compile and it shows a blank area on wxhtmlwindow (I resize the wxhtmlwindow)

When I insert something on "url" parameter like www.google.com or other links with html, after compile it apears the message "unusable to open requested html document: www.google.com"

Sorry my English
Title: Re: [wxSmith] wxhtmlwindow question!
Post by: codemania on June 07, 2007, 08:35:20 pm
Now I made an html file with an html text.
When I insert in the "url" parameter the local address c:\hello.html it works well, but Online It doesn't (It freezes).

Title: Re: [wxSmith] wxhtmlwindow question!
Post by: byo on June 07, 2007, 10:58:58 pm
wxHtmlWindow is very basic browser and may be still buggy. You should use more advanced rendering engine (f.ex. mozilla, AFAIK it's been ported to wxWidgets) to display generic pages like google.

And one more thing - this board is related to development of Code::Blocks plugins. Your question was about wxWidgets stuff and you should ask for it in wxWidgets forum (http://wxforum.shadonet.com/)

BYO