Create A Basic WinHelp 3.1 Project File

Example Project File (*.hpj)

[OPTIONS]
TITLE= My Help File
;Text to be displayed in WinHelp title bar.
CONTENTS=Contents
;Context string for Contents *.rtf topic.
ERRORLOG=helpfile.err
;ASCII text file that contains screen displayed compilation errors.
COPYRIGHT=Copyright © By: The Story Teller, 1996
;Text displayed in WinHelp's About dialog.
CITATION=Copyright © By: The Story Teller, 1996
;Text printed or copied to the clipboard.
REPORT=ON
;Display compilation errors to the screen.
WARNING=3
;Display all compilation errors to the screen.
COMPRESS=OFF
;No compression.

[FILES]
helpfile.rtf
;Name of *.rtf file. Without path or [OPTIONS] ROOT entry, *.rtf file must reside in the same directory / folder as the *.hpj file.

[WINDOWS]
main="", (511,0,512,1023 ),,, (192,192,192)
;Window definition.
about="About My Help File", (222,206,585,486 ),,, (192,192,192 ), 1
;Window definition.

[MAP]
; Context strings and associated context Ids.
Contents 100
Overview 200
Toolbar 300
FileMenu 400
EditMenu 401
HelpMenu 402
Control1 1000
Control2 1001
Control3 1002
Control4 1003

[CONFIG]
BrowseButtons()
;Browse Button macro.
CB("About","&About","JI(`helpfile.hlp>about', `ABOUT')")
;About Button to display About topic in about window.

  
The Freelance Story Teller
Voice: 405 720 7995
Fax: 405 720 7995
11808 Silvermoon Drive, Oklahoma City, OK 73162