Page 1 of 1

Silverlight controls in wxHtmlWindow

Posted: Mon Apr 28, 2008 11:53 am
by Jordi
Hi!

I am developing an application in C++ using wxWidgets, and we have considered the option of integrating with wxHtmlWindow a HTML page that contains Silverlight controls.

Anybody knows if it could be possible? Or the wxHtmlWindow only shows very simple HTML content (text)?

Thanks for your help!


Jordi

Posted: Mon Apr 28, 2008 12:13 pm
by lester
It's possible to insert own control to wxHtml( I have found such code inside wxWidgets - but maybe it's undocumented ), but... wxHtml is unuseble when work with htpp:// ( very very often hung - atleast for me ) and can show only simple pages( You can try for example http://forums.wxwidgets.org/ for see it :) ) , so I recomend to use gecko or webkit engine ( for Mac OSX support of webkit included in wxWidgets )

Posted: Mon Apr 28, 2008 1:08 pm
by Jordi
lester wrote:It's possible to insert own control to wxHtml( I have found such code inside wxWidgets - but maybe it's undocumented ), but... wxHtml is unuseble when work with htpp:// ( very very often hung - atleast for me ) and can show only simple pages( You can try for example http://forums.wxwidgets.org/ for see it :) ) , so I recomend to use gecko or webkit engine ( for Mac OSX support of webkit included in wxWidgets )
Hi Lester,

The class that manages wxHTML is wxHtmlWindow, isn't it? Could you give some information about gecko or webkit? I work on Windows ;)

Thanks for your help!

Jordi

Posted: Mon Apr 28, 2008 1:18 pm
by lester
for gecko I have found sample for wxWidgets:

http://gnuzilla.gnu.org/fulltree/icecat ... s/wxEmbed/

Posted: Mon Apr 28, 2008 5:58 pm
by Auria
You might want to look at wxWebkit

http://wxwebkit.wxcommunity.com/pmwiki/index.php

this might be a little of an overkill though if all you want is to display some simple HTML

HTML in wx is problematic ATM if you ask me, you might as well have better success getting the native handle and adding a native HTML component (I suppose there is one, i know nothing about windows)

Posted: Tue Apr 29, 2008 7:24 am
by Jordi
Auria wrote:You might want to look at wxWebkit

http://wxwebkit.wxcommunity.com/pmwiki/index.php

this might be a little of an overkill though if all you want is to display some simple HTML

HTML in wx is problematic ATM if you ask me, you might as well have better success getting the native handle and adding a native HTML component (I suppose there is one, i know nothing about windows)
Hi Auria, thanks for your help. What I'm trying to do is inserting Silverlight controls into a HTML, and this HTML into a wxWidgets GUI. I have done the first part, but the second is what I'm asking here. I don't know if a HTML page with a Silverlight object is understood as a simple HTML...:S

I try and tell something ;) Thanks for your help!


Jordi

wxMozilla?

Posted: Mon May 05, 2008 7:46 am
by Jordi
Hi,

Anybody knows how implement an embedded browser in a wxWidgets application? It should open complex HTML web pages, for example, supporting Javascript, Flash or Silverlight.

Do you know if wxMozilla runs with wxWidgets? I use MS Visual C++ 6.0 environment and wxWidgets 2.8.0

Thanks for your help!


Jordi

Re: wxMozilla?

Posted: Mon May 05, 2008 12:25 pm
by vdell
Jordi wrote:Anybody knows how implement an embedded browser in a wxWidgets application? It should open complex HTML web pages, for example, supporting Javascript, Flash or Silverlight.
Did you check the suggested wxWebKit?
Jordi wrote:Do you know if wxMozilla runs with wxWidgets? I use MS Visual C++ 6.0 environment and wxWidgets 2.8.0
A long time ago I got wxMozilla to work with Visual Studio 2005 / Windows XP. However, IIRC, wxMozilla isn't developed anymore so I wouldn't suggest to use it in a new project.