Partager via


Contents

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="<i>.hhc file path</i>">
<PARAM name="Flags"   value="0x<i>n</i>,0x<i>n</i>">

Properties

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:52a2aaae-085d-4187-97ea-8c30db990436"
   codebase="Hhctrl.ocx#Version=5,02,3790,1194"
   width=100%
   height=100%
>
   <PARAM name="Command" value="Contents">
   <PARAM name="Item1" value="C:\toc.hhc">
   <PARAM name="Flags" value="0x4000,0x800035>
</OBJECT>

Remarks

  • The Flags parameter will overwrite any ExWindow Styles and Window Styles parameter values that have been set in the specified contents (.hhc) file using the Table of Contents dialog box in HTML Help Workshop.

About Commands