IHTMLWindow2::get_onhelpIHTMLWindow2::get_onhelp*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLWindow2::get_onfocus
*Next Topic: IHTMLWindow2::get_onload

IHTMLWindow2::get_onhelp


HRESULT get_onhelp(
    VARIANT *p 
);

Retrieves the inline script associated with the onhelp event on the window element.

For more information on inline scripts, see Attaching an Event Handler in the Event Model documentation.

p
Address of a VARIANT structure that contains the onhelp script.

This script is executed when the user presses the F1 key or clicks the Help button in the browser. The default action of this event is to display the help information for the browser.

See also put_onhelp

Up Top of Page


IHTMLWindow2::put_onhelp


HRESULT put_onhelp(
    VARIANT v 
);

Sets the inline script associated with the onhelp event on the window element. This script is executed when the user presses the F1 key or clicks the help button in the browser.

For more information on inline scripts, see Attaching an Event Handler in the Event Model documentation.

v
VARIANT structure that contains the onhelp script to be set.

See also get_onhelp


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.