bgiCreateHTMLView

Creates an Internet Explorer WebBrowser control for displaying HTML content. Takes x (Int), y (Int), width (Int), height (Int), and parent (Int). Returns gizmo ID, or 0 if parent not found or creation failed.

BGI GUI

Parameters & Returns

Parameters

x Int
y Int
width Int
height Int
parent Int

Returns

Int

Quick Summary

Creates an Internet Explorer WebBrowser control for displaying HTML content. Takes x (Int), y (Int), width (Int), height (Int), and parent (Int). Returns gizmo ID, or 0 if parent not found or creation failed.

Technical Exegesis...

Creates an Internet Explorer WebBrowser control for displaying HTML content. Searches gizmoMap for parent window ID. Increments gizmoIDCount for unique ID. Uses GetActualParentHWND for scroll panel support. Creates ATL::CAxWindow host window with WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS. Calls CreateControl(L"Shell.Explorer.2") to instantiate Internet Explorer ActiveX control. Queries for IWebBrowser2 interface via QueryControl. Sets put_Silent(VARIANT_TRUE) to disable script error dialogs.

Example

Example.bam
; No example implemented yet