It's Not Just Help. . .
So How Does It Work?
HTML
Topics & Templates
CSS
DHTML
Project File (.hhp)
Contents File (.hhc)
Merging Modular Files
Accelerating Links
Distribution & Installation
HTML Help Resources on the Web
|
|
Window Definition Parameters
The most complex portion of the HTML Help project file (.hhp)
is the window definition parameter section.
The full specification (which is typed as a single line without line
breaks) is:
WindowType="Title bar text","tocfile.hhc", "indexfile.hhk","default.htm","home.htm","jump1
destination file", "jump1 button text","jump2 destination file","jump2
button text", 0xNavigation Pane,navigation pane width, 0xButtons,[l,t,w,h],0xstyles,0xextended
styles,,navigation pane closed,default tab,blank,0
where the individual elements are defined in the table below. (Additional
information and an explanation of hexadecimal bit flags appear on pp.
244ff).
Parameter |
Explanation
&
Workshop location |
WindowType |
Name specified when you create
the window type; also appears as the Window type throughout the Window
Types dialog tabs |
Title bar text |
Name that appears in the window’s
title bar (defined in the Window Types dialog on the General tab in
the Title bar text field) |
tocfile.hhc |
File displayed on the Contents
tab in the navigation pane of this window type (defined in Window
Types>Files>TOC) |
indexfile.hhk |
File displayed on the Index tab in the
navigation pane of this window type (defined in Window Types>Files>Index) |
default.htm |
Topic displayed when user first opens the
file (defined in Window Types>Files> Default) |
home.htm |
Topic file displayed when the user clicks
the Home button in the compiled HTML Help file (defined in Window
Types>Files>Home) |
jump1 destination file |
Topic file or URL displayed when the user
clicks Jump 1 button in the HTML Help file (defined in Window Types
> Files > Jump 1) |
jump1 button text |
Text displayed on Jump 1 button
on the (defined in Window Types>Buttons>Jump 1 text once you select
the Jump 1 check box) |
jump2 destination file |
Topic file or URL displayed when the user
clicks Jump 2button in the HTML Help file (defined in Window Types
> Files > Jump 2) |
jump2 button text |
Text displayed on Jump 2 button on the
(defined in Window Types>Buttons>Jump 2text once you select the Jump
2 check box) |
0xNavigation pane |
Hexadecimal “bit flag” specifying
information about the navigation pane, including whether the HTML
Help file uses the standard tripane format, always opens in the location
defined by the Help author, automatically synchronizes contents highlight
with currently displayed topic file, and displays Search and Favorites
tabs (defined in Window Types > Navigation Pane and Window Types>
Position>Save user defined window position after first use) |
navigation pane width |
Default width of navigation (left) pane
in pixels (defined in Window Types>Navigation Pane >Navigation pane
width) |
0xButtons |
Hexadecimal “bit flag” specifying
buttons to display in the button bar (defined in Window Types>Buttons>Button
Types) |
[l,t,w,h] |
Default position for this
window type from the left edge and top of the computer screen, with
the width and height of the window. |
0xStyles |
Hexadecimal “bit flag” specifying “Style”
elements included in the the HTML Help window |
0xExtended Styles |
Hexadecimal “bit flag” specifying “Extended
Style” elements included in the the HTML Help window, |
Navigation Pane Closed |
Default state for the navigation
pane in a tripane window. |
Default Tab |
Default opening tab for the
navigation (left) pane (defined in Window Types>Navigation Pane> Tabs>Default
tab) |
blank,0 |
Closing elements signalling termination
of the window type definition. |
|