Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 3.4

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):

Download Icon 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.