source property
Retrieves the source window object of the HTMLWindowEvents3::onmessage event.
Syntax
HRESULT value = object.get_source(** p);
Property values
Type: Object
the window that sent the message.
Remarks
When pages send cross-document messages with IHTMLWindow6::postMessage, the target window receives a reference to the sender of the message. If the two pages are hosted in the same domain, the target window has full access to the Document Object Model (DOM) of the sender. If not, the target can only respond to the message sender with IHTMLWindow6::postMessage; any other interaction will return E_ACCESSDENIED.
See also
Reference