Click to return to the HTML Help home page    
Methods     Print     HTML Help ActiveX Control...    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

Click and HHClick Method


Microsoft Corporation

Updated June 10, 1999

Purpose

Use the Click method to invoke any command that supports the Button parameter.

Commands that do not support the Button parameter, such as Splash, are invoked as soon as your HTML file is loaded and, therefore, cannot be called from a method.

This method can be used with either a compiled help (.chm) file or uncompiled HTML files. However, not all commands are supported in uncompiled HTML files.

Applies to

Alink
Close
HH Version
KLink
Related Topics
Shortcut
TCard
WinHelp

Syntax

Click() or HHClick()

The Click method takes no parameters.

Example

The following example shows how to use the Click method to invoke the HH version command.

The code for the control:

<OBJECT

id=test3
type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
codebase="hhctrl.ocx#Version=4,72,8252,0"
>
<PARAM name="Command" value="HH Version">
</OBJECT>
The JavaScript code to invoke the control:
<a href=JavaScript:test3.Click()>On Click, do HH Version</a>

Show Me

Comments


link to overview topic About the HTML Help ActiveX control methods
 


Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.