Silverlight controls in wxHtmlWindow 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
Jordi
Earned a small fee
Earned a small fee
Posts: 14
Joined: Tue Feb 26, 2008 9:08 am

Silverlight controls in wxHtmlWindow

Post by Jordi » Mon Apr 28, 2008 11:53 am

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

lester
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 211
Joined: Sat Sep 02, 2006 7:24 pm
Location: Ukraine

Post by lester » Mon Apr 28, 2008 12:13 pm

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 )

Jordi
Earned a small fee
Earned a small fee
Posts: 14
Joined: Tue Feb 26, 2008 9:08 am

Post by Jordi » Mon Apr 28, 2008 1:08 pm

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

lester
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 211
Joined: Sat Sep 02, 2006 7:24 pm
Location: Ukraine

Post by lester » Mon Apr 28, 2008 1:18 pm

for gecko I have found sample for wxWidgets:

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

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

Post by Auria » Mon Apr 28, 2008 5:58 pm

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)

Jordi
Earned a small fee
Earned a small fee
Posts: 14
Joined: Tue Feb 26, 2008 9:08 am

Post by Jordi » Tue Apr 29, 2008 7:24 am

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

Jordi
Earned a small fee
Earned a small fee
Posts: 14
Joined: Tue Feb 26, 2008 9:08 am

wxMozilla?

Post by Jordi » Mon May 05, 2008 7:46 am

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

vdell
Moderator
Moderator
Posts: 536
Joined: Fri Jan 07, 2005 3:44 pm
Location: Finland
Contact:

Re: wxMozilla?

Post by vdell » Mon May 05, 2008 12:25 pm

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.
Visual C++ 9.0 / Windows XP Pro SP3 / wxWidgets 2.9.0 (SVN) | Colligere

Post Reply