Click to return to the HTML Help home page    
Close     HH Version     HTML Help ActiveX Control...    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

Contents Command


Microsoft Corporation

Updated June 10, 1999

Purpose

Creates a graphical table of contents that displays a specified contents (.hhc) file.

This command can be used with either a compiled help (.chm) file or uncompiled HTML files.

Syntax

<PARAM name="Command" value="Contents">

<PARAM name="Item1" value=".hhc file path">
<PARAM name="Flags" value="0xn,0xn">

Property Description
Command Calls the Contents command.
Flags Specifies ExWindow Styles and Window Styles values for the selected window style attributes. The values are stored as hexadecimal numbers in the format 0xn.

We recommend that you use the HTML Help ActiveX Control Wizard to select window styles. The wizard automatically inserts the appropriate parameter values in the format 0xn.

Item1 Specifies the contents (.hhc) file path.

Example

<OBJECT

id=MyControl
type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
codebase="HHCTRL.ocx#Version=4,72,8252,0"
width=100%
height=100%
>
<PARAM name="Command" value="Contents">
<PARAM name="Item1" value="C:\toc.hhc">
<PARAM name="Flags" value="0x4000,0x800035> </OBJECT>

Comments


link to overview topic About commands
 


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.