bgiLoadHTMLURL

Loads a web page or local HTML file from a URL into an HTMLView control. Takes htmlViewID (Int) and url (String). Returns nothing.

BGI GUI

Parameters & Returns

Parameters

htmlViewID Int
url String

Returns

Void

Quick Summary

Loads a web page or local HTML file from a URL into an HTMLView control. Takes htmlViewID (Int) and url (String). Returns nothing.

Technical Exegesis...

Loads a web page or local HTML file from a URL into an HTMLView control. Searches webBrowserMap for htmlViewID. If found, gets IWebBrowser2* interface. Converts UTF-8 url string to wide character (wchar_t*) using MultiByteToWideChar with CP_UTF8. Allocates VARIANT for URL parameter. Calls pBrowser->Navigate(wideUrl, &vFlags, &vTargetFrameName, &vPostData, &vHeaders) with URL variant. VariantClear releases variant. Frees allocated wide string. No return value.

Example

Example.bam
; No example implemented yet