Contents

HTML Help ActiveX

Contents command

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

  • 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.

link to overview topic About commands