About this demo:
The "Universal Browser"
illustrates two powerfull technologies:
n Integration of ActiveX controls in PowerBASIC
applications.
n Skining, using standard Windows API.
The IE ActiveX control used for the demo is more than a Web
browser, it is a Universal Browser:
It will let you display, print and even program such different types of documents
as:
n HTML pages,
n Word documents,
n Excel spreadsheets,
n Visio drawings,
n
PowerPoint presentations,
n Shockwave movies,
n and more...
Furthermore, once a document has been loaded in the IE OCX (in a single call to the
OCX Navigate method) it can be fully programmed in PowerBasic using the code generated by
JA COM/PB to access its COM object model, opening tremendous new opportunities to the PB
developers.
The name of the demo program is
"SKWEBBR.EXE", it accepts a full file name from the command line thus to display
it as the default document.
The document name could be either a url or any document that can be displayed in the IE OCX.
If you want to skin a window you need to have
full control on all parts that build the window.
This means :
n Width of borders: left, right, top and bottom.
n Height of caption.
n Height of menu bar.
n Height of status bar.
n Pop-up menu using a specific background, and color theme.
n Menu bar with specific background, and color theme.
n Status bar with specific background.
n The engine will use its own GetSysColor and GetSystemMetrics API as
defined in the "Skin".
n All buttons will be "skined", push buttons, check boxes, radio
buttons.
n The main window client area uses a tiled background like in Internet
Explorer.
n The engine has its own system buttons, like the exclusive
"docking" button feature.
n There is built-in support for animated bitmaps (They work like animated
GIF files, without UNISYS patent).
n There is built-in support for transparent bitmaps.
n You will have full control on edit fields (numeric, date,
integer, boolean, etc.)
The engine uses the SDK programming style "a la Petzold".
It won't work with windows based on the
CreateDialog API, because their predefined classes are too restrictives.
However it will work with any language that is able to use the CreateWindowEx API.
The main purpose of "SKWEBBR" is to
offer a handy tool to display html help files related to any application.
Of course people must be familiar with HTML editing, and if they want to use all
the features from the OCX they will have to invest some time to understand the API of the
provided JA OCX source code.
Remember this is just a demo, there will be no support for using it.
If you want to know more about
the JAZZAGE technology, please follow the link below:
http://www.jazzagesoft.com
To see a full skined application,
you can download the trial version of "ZAP Image solution" at:
http://www.zapsolution.com