
HRESULT get_linkColor(
VARIANT *p
);
Retrieves the color of the document links.
See also put_linkColor
HRESULT put_vlinkColor(
VARIANT v
);
Sets the color of links that have already been visited.
See also get_vlinkColor
HRESULT get_vlinkColor(
VARIANT *p
);
Retrieves the color of links that have already been visited.
See also put_vlinkColor
HRESULT get_referrer(
BSTR *p
);
Retrieves the URL of the previous location.
HRESULT get_location(
IHTMLLocation **p
);
Retrieves an interface pointer to a location object. The object contains information about the current location (full URL) of the document.
HRESULT get_lastModified(
BSTR *p
);
Retrieves a string containing the last-modified date of the page (if the page provides one).
HRESULT put_URL(
BSTR v
);
Sets the URL for the current document. This function causes the browser to browse to the location specified by the URL.
This function performs the same action as the IHTMLLocation::put_href function.
See also get_URL
HRESULT get_URL(
BSTR *p
);
Retrieves the URL for the current document.
This function performs the same action as the IHTMLLocation::get_href function.
See also put_URL
HRESULT put_domain(
BSTR v
);
Sets or returns the security domain of the document.
The domain property initially returns the host name of the server the page is from. This property can be assigned the domain suffix to allow sharing of pages across frames. For example, a page in one frame from home.microsoft.com and a page from www.microsoft.com would initially not be able to communicate with each other. However, by setting the domain property of both pages to the suffix, microsoft.com, both pages would be considered secure and now code can be shared between the pages.
See also get_domain
HRESULT get_domain(
BSTR *p
);
Retrieves or the security domain of the document.
The domain property initially returns the hostname of the server that the page is from. This property can be assigned the domain suffix to allow sharing of pages across frames. For example, a page in one frame from home.microsoft.com and a page from www.microsoft.com would initially not be able to communicate with each other. However, by setting the domain property of both pages to the suffix, microsoft.com, both pages would be considered secure and now code can access between the pages.
See also put_domain
HRESULT put_cookie(
BSTR v
);
Sets the string value of a cookie, which is a small piece of information stored by the browser.
See also get_cookie
HRESULT get_cookie(
BSTR *p
);
Retrieves the string value of a cookie, which is a small piece of information stored by the browser.
See also put_cookie
HRESULT put_expando(
VARIANT_BOOL v
);
Specifies whether the document supports the use of expando properties.
See also get_expando
HRESULT get_expando(
VARIANT_BOOL *p
);
Determines whether the document supports the use of expando properties.
See also put_expando
HRESULT put_charset(
BSTR v
);
Specifies the character set used to encode the document.
See also get_charset
HRESULT get_charset(
BSTR *p
);
Retrieves the character set used to encode the document.
See also put_charset
HRESULT put_defaultCharset(
BSTR v
);
Specifies the default character set of the document.
See also get_defaultCharset
HRESULT get_defaultCharset(
BSTR *p
);
Retrieves the default character set of the document.
See also put_defaultCharset
HRESULT get_mimeType(
BSTR *p
);
Retrieves the MIME type for the document file.
HRESULT get_fileSize(
BSTR *p
);
Retrieves the size, in bytes, of the document file.
HRESULT get_fileCreatedDate(
BSTR *p
);
Retrieves the date when the document file was created.
HRESULT get_fileModifiedDate(
BSTR *p
);
Retrieves the date when the document file was most recently modified.
See also get_fileUpdatedDate
HRESULT get_fileUpdatedDate(
BSTR *p
);
Retrieves the date when the document file was last updated.
See also get_fileModifiedDate
HRESULT get_security(
BSTR *p
);
Retrieves security information for the document.
HRESULT get_protocol(
BSTR *p
);
Retrieves the protocol portion of the URL that the browser uses to locate the document file. The protocol portion, which indicates the access method, includes the initial substring of the URL up to and including the first colon.
HRESULT get_nameProp(
BSTR *p
);
Retrieves the file name from the URL that the browser uses to locate the document file.
HRESULT write(
SAFEARRAY *psarray
);
Writes one or more HTML expressions to a document in the specified window.
See also writeln
HRESULT writeln(
SAFEARRAY *psarray
);
Writes one or more HTML expressions to a document in the specified window, followed by a carriage return.
In HTML, the carriage return is ignored unless within preformatted text.
See also write
HRESULT open(
BSTR url,
VARIANT name,
VARIANT features,
VARIANT replace ,
IDispatch **pomWindowResult
);
Opens a stream to collect the output of the write or writeln method.
See also close
HRESULT close(void);
Closes an output stream and forces data sent to layout to display.
See also open
HRESULT clear(void);
This is a no-op.
HRESULT queryCommandSupported(
BSTR cmdID,
VARIANT_BOOL *pfRet
);
Determines whether the given command is supported.
HRESULT queryCommandEnabled(
BSTR cmdID,
VARIANT_BOOL *pfRet
);
Determines whether the given command is currently available.
HRESULT queryCommandState(
BSTR cmdID,
VARIANT_BOOL *pfRet
);
Retrieves the current status of the given command. The status indicates whether the command has been carried out on the object.
HRESULT queryCommandIndeterm(
BSTR cmdID,
VARIANT_BOOL *pfRet
);
Determines whether the given command is in the indeterminate state.
HRESULT queryCommandText(
BSTR cmdID,
BSTR *pcmdText
);
Returns the string associated with a command.
HRESULT queryCommandValue(
BSTR cmdID,
VARIANT *pcmdValue
);
Retrieves the current value of the given command.
HRESULT execCommand(
BSTR cmdID,
VARIANT_BOOL showUI,
VARIANT value,
VARIANT_BOOL *pfRet
);
Executes the given command over the current selection or text range.
HRESULT execCommandShowHelp(
BSTR cmdID,
VARIANT_BOOL *pfRet
);
Displays help information for the given command identifier.
HRESULT createElement(
BSTR eTag,
IHTMLElement **newElem
);
Creates an instance of the element object for the specified tag. Only new IMG and OPTION objects can be created. Before they can be used, new objects must be explicitly added to their respective collections.
HRESULT put_onhelp(
VARIANT v
);
Sets the inline script associated with the onhelp event on the object.
See also get_onhelp
HRESULT get_onhelp(
VARIANT *p
);
Retrieves the inline script associated with the onhelp event on the object.
See also put_onhelp
HRESULT put_onclick(
VARIANT v
);
Sets the inline script associated with the onclick event on the object.
See also get_onclick
HRESULT get_onclick(
VARIANT *p
);
Retrieves the inline script associated with the onclick event on the object.
See also put_onclick
HRESULT put_ondblclick(
VARIANT v
);
Sets the inline script associated with the ondblclick event on the object.
See also get_ondblclick
HRESULT get_ondblclick(
VARIANT *p
);
Retrieves the inline script associated with the ondblclick event on the object.
See also put_ondblclick
HRESULT put_onkeyup(
VARIANT v
);
Sets the inline script associated with the onkeyup event on the object.
See also get_onkeyup
HRESULT get_onkeyup(
VARIANT *p
);
Retrieves the inline script associated with the onkeyup event on the object.
See also put_onkeyup
HRESULT put_onkeydown(
VARIANT v
);
Sets the inline script associated with the onkeydown event on the object.
See also get_onkeydown
HRESULT get_onkeydown(
VARIANT *p
);
Retrieves the inline script associated with the onkeydown event on the object.
See also put_onkeydown
HRESULT put_onkeypress(
VARIANT v
);
Sets the inline script associated with the onkeypress event on the object.
See also get_onkeypress
HRESULT get_onkeypress(
VARIANT *p
);
Retrieves the inline script associated with the onkeypress event on the object.
See also put_onkeypress
HRESULT put_onmouseup(
VARIANT v
);
Sets the inline script associated with the onmouseup event on the object.
See also get_onmouseup
HRESULT get_onmouseup(
VARIANT *p
);
Retrieves the inline script associated with the onmouseup event on the object.
See also put_onmouseup
HRESULT put_onmousedown(
VARIANT v
);
Sets the inline script associated with the onmousedown event on the object.
See also get_onmousedown
HRESULT get_onmousedown(
VARIANT *p
);
Retrieves the inline script associated with the onmousedown event on the object.
See also put_onmousedown
HRESULT put_onmousemove(
VARIANT v
);
Sets the inline script associated with the onmousemove event on the object.
See also get_onmousemove
HRESULT get_onmousemove(
VARIANT *p
);
Retrieves the inline script associated with the onmousemove event on the object.
See also put_onmousemove
HRESULT put_onmouseout(
VARIANT v
);
Sets the inline script associated with the onmouseout event on the object.
See also get_onmouseout
HRESULT get_onmouseout(
VARIANT *p
);
Retrieves the inline script associated with the onmouseout event on the object.
See also put_onmouseout
HRESULT put_onmouseover(
VARIANT v
);
Sets the inline script associated with the onmouseover event on the object.
See also get_onmouseover
HRESULT get_onmouseover(
VARIANT *p
);
Retrieves the inline script associated with the onmouseover event on the object.
See also put_onmouseover
HRESULT put_onreadystatechange(
VARIANT v
);
Sets the inline script associated with the onreadystatechange event on the object.
See also get_onreadystatechange
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.