Home » Community » Newbie corner » is there any way to embed a browser window in a U++ window or view the html direclty?
() 1 Vote
is there any way to embed a browser window in a U++ window or view the html direclty? [message #25151] |
Fri, 12 February 2010 19:54 |
blankets
Messages: 2 Registered: February 2010
|
Junior Member |
|
|
hey : )
I'm new to C++ and have written a program which displays consecutive small html files in a firefox window (the page is set to refresh so the next bit of html fed to it by the program gets displayed)
it needs a GUI so I was wondering if anybody could point me in the right direction of how to put the html pages in a nice looking GUI instead of me having to open firefox manually first
Thank you very much for your time: )
-Eric
|
|
|
Re: is there any way to embed a browser window in a U++ window or view the html direclty? [message #25160 is a reply to message #25151] |
Fri, 12 February 2010 22:57 |
mr_ped
Messages: 825 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
There's no build-in support for this in U++.
If you are skilled win32 programmer and you need only windows exe, you can try to embed MS IE. It should be considerably "easy" for anyone experienced with MS API, as it's prepared for exactly this usage (probably trough some COM object or whatever, I refused to ever touch win32 API into depth, so I have no exact idea).
From U++ there's some DHCtrl or something like that, which will help you with hwnd child window supposed to embed such extras, but this will save you only little bit of work.
If you have plenty of spare time and some experience with C++ and other libraries, you may want to try to produce webkit U++ wrapper and give it back to community. This would be cross platform, if done properly, and greatly welcome as very interesting extension of U++.
There's also option to embed gecko engine, but webkit is said to have less dependencies, so it should be easier to wrap into U++ control. (yet if you are familiar with gecko, maybe you will consider otherwise) None of the task is "easy", maybe not even "medium" but quite hard. Embedding MSIE should be between easy to medium, depends how well you know MS technologies, for seasoned MS engineer it should be not difficult.
As far as I remember, nobody here ever embedded any HTML viewer, there was some discussion about webkit, but my current response sums up everything what was done on that front. (that "it should be easier then gecko" thing is all )
[Updated on: Fri, 12 February 2010 22:59] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Fri Apr 19 20:30:21 CEST 2024
Total time taken to generate the page: 0.01662 seconds
|