Article Preview
Buy Now
COLUMN
OLEContainer
A web control for the Windows version of REALbasic
Issue: 3.4 (March/April 2005)
Author: Christian Schmitz
Author Bio: Christian Schmitz is the creator of the Monkeybread Software REALbasic Plugins.
Article Description: No description available.
Article Length (in bytes): 9,419
Starting Page Number: 42
Article Number: 3419
Resource File(s):
3419.zip Updated: 2013-03-11 19:07:58
Related Web Link(s):
http://www.realsoftware.com/
http://www.realbasic.com/
http://msdn.microsoft.com
Excerpt of article text...
Since the early days of the MonkeyBread Software Plugins, REALbasic users have asked for a way to render HTML files, most often for some kind of help window.
In response, I wrote an HTMLViewer plugin control for Mac OS 8/9/X in June 2002.. With this, users had and still have a way to render HTML 3.2 in a control. Over two years ago, Safari was released and I wrote my own Webkit plugin for REALbasic.
Now the Mac version was done and people were asking for a control which worked in Windows. I told people that they can do it using the OLEContainer control in REALbasic 5. But, sadly, no one reported success.
So recently I started research myself and found nearly no documentation. There was a simple OLEObject example in the Online Reference and a few emails on the mailing lists, but none actually doing what I need: placing an OLEContainer on a window which acts as a web browser control.
Of course we can already add an ActiveX WebControl on the toolbar in the Windows version of REALbasic, but this control won't work in the Mac version of REALbasic so you can't cross-compile your projects. And this is necessary, since REALbasic 5.5 can't create Mac icons when compiling on Windows.
...End of Excerpt. Please purchase the magazine to read the full article.