Messenger Plus! Live - Scripting Documentation

The PlusWnd::Browser_GetInterface function returns an interface to the InternetExplorer object associated with a BrowserControl. This interface allows you to interact with the control in various ways, like changing the current page.

Syntax

Browser_GetInterface(
    [string] ControlId
);

Parameters

ControlId
[string] Unique identifier of the control.

Return Value

A dispatch interface to the internal InternetExplorer object. For more information, check out the documentation of the control in the MSDN Library.

This function typically fails for the following reason:

Example

This code creates an interface window, gets a reference to its browser control and navigates to msgpluslive.net.

var MyWindow = MsgPlus.CreateWnd("Interface.xml", "MyWindow");

var WebControl = MyWindow.Browser_GetInterface("BroInternet");
WebControl.Navigate2("http://www.msgpluslive.net");

Function Information

Object PlusWnd
Availability Messenger Plus! Live 4.50

See Also

PlusWnd Object, MSDN Library's documentation of InternetExplorer objects.