wxIEHtmlWindow

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Randajad
Knows some wx things
Knows some wx things
Posts: 26
Joined: Mon May 03, 2010 7:18 am
Location: Russia
Contact:

wxIEHtmlWindow

Postby Randajad » Sat Nov 06, 2010 11:56 am

Hey, guys.

There are two questions:
1) How to set background image for wxIEHtmlWindow?
2) How to open url's in default browser?

:shock:

Thanks
Windows Seven x64.
Code::Blocks with TDM MinGW.

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

Postby Auria » Sat Nov 06, 2010 5:11 pm

Background image? Well just use regular HTML/CSS way to do this

About opening main browser, no need to embed IE in wx, just use http://docs.wxwidgets.org/trunk/group__ ... 6f283615ca
"Keyboard not detected. Press F1 to continue"
-- Windows

Randajad
Knows some wx things
Knows some wx things
Posts: 26
Joined: Mon May 03, 2010 7:18 am
Location: Russia
Contact:

Postby Randajad » Sun Nov 07, 2010 8:46 am

I need to set wxBitmap whos generated by my app as background image to html page.

About default browser... When i click link in wxIEHtmlWindow it open's in IE, not default browser.

Thanks
Windows Seven x64.

Code::Blocks with TDM MinGW.

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

Postby Auria » Sun Nov 07, 2010 3:19 pm

As you may know, I have been working on a cross-platform web framework for wx ( https://bitbucket.org/auria/wxbetterhtmlcontrol ) that is currently under review for inclusion in wx ( http://review.bakefile.org/r/237/ )

So perhaps you get can a few ideas from that :)

Randajad wrote:I need to set wxBitmap whos generated by my app as background image to html page.


That I have no idea, sorry

Randajad wrote:About default browser... When i click link in wxIEHtmlWindow it open's in IE, not default browser.


I think wxIEHtmlWindow offers no built-in support for catching link clicked events, and my version of it (wxWebView) not yet neither. I believe you would need to catch the "new window request" event from IE, then tell IE to ignore the event, and then use wxLaunchDefaultBrowser instead. I plan to add this to my wxWebView classes eventually, but for now the review process is suspended for the 2.9.2 release to occur so this won't be just right now :)
"Keyboard not detected. Press F1 to continue"

-- Windows


Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 1 guest