Access Trading System Manual For Computer Programmer's

Contents Index Previous Chapter Next Chapter


Creating The Help File

To Top Creating The Help File

Help Project To compile the help file to produce ets.hlp you right mouse select ets.hpj on the project window
It is very important that you first install the latest help compiler for version 5 of MSVC
This is because we are using Word 97 to create the Rich Text Format File and the help compiler
that ships with msvc 5.0 does not properly support Word 97
See \ets2_ipe_uk\data\EtsCode\help workshop
This should be installed where you have microsoft visual c installed
For example: C:\Program Files\Visual C\BIN

Remember the actual compilation is driven by the file C:\ETS\GUI\MAKEHELP.BAT
















  
[OPTIONS]
LCID=0x409 0x0 0x0 ;English (U.S.)
CONTENTS=main_index
TITLE=ETS Application Help
COMPRESS=true
WARNING=2
BMROOT= ..,.
ROOT= ..,.
HLP=ETS.HLP
ERRORLOG=ETS.LOG
[FILES]
afxcore.rtf
afxprint.rtf
[ALIAS]
HIDR_MAINFRAME = main_index
HIDR_ETSFUTURES = HIDR_DOC1TYPE
HIDD_ABOUTBOX = HID_APP_ABOUT
HID_HT_SIZE = HID_SC_SIZE
HID_HT_HSCROLL = scrollbars
HID_HT_VSCROLL = scrollbars
HID_HT_MINBUTTON = HID_SC_MINIMIZE
HID_HT_MAXBUTTON = HID_SC_MAXIMIZE
[CONFIG]
BrowseButtons()
[WINDOWS]
main=""(10,20,700,800),29188,,(r16776960)
proc4="How To",(652,8,363,750),28672,(r15269887),
proc5="Mouse Clicks",(652,8,363,750),28672,(r15269887)
[MAP]
#include <C:\Program Files\Visual C\MFC\include\afxhelp.hm>
#include <C:\Ets\GUI\resource.hm>
#include <C:\Ets\GUI\context.h>
#include <C:\Ets\GUI\hlp\ETS.hm>
The main file for updating is afxcore.rtf which contains all the user defined help text
The use of BrowseButtons() is to allow next previous page navigation through the help file
The use of [WINDOWS] is first to drive the main help display and second to call up other help windows
hlp\Ets.hpj(1) : error: Problem encountered creating help file
Can Occur If Any Of The Above [MAP] entries cannot be found on your local drive

Note
  • afxhelp.hm Is A Part Of MFC
  • resource.hm Is Created By Ticking Help Option Within Resource Editor
  • context.h Is Created Inside The Application It IS The Grid Column Headers Help ID
  • ets.hm Is Created By MakeHelp.Bat and covers the Dialog ID's

  • To Top Syntax In Help Files

    Help Project The Most Important change to make in Word is Tools : Options
    Nonprinting characters set the All to ticked.























    Help Project The Hooks Are Added By Insert : Footnote

    The Major Types are:

  • # Most Important Being The Page Hook. Format is Hidentifier
  • K Is A Group Collection Such As Menu or Dialog
  • $ Is The Title Of The Page Such As Password Login Field
  • + Is A Numeric Order Sequence For The Browse Buttons Such As 00001


  • Note All These Should Be Added At The Start Of The Line
    Pages Should Be Split With A Page Break (Ctrl-Enter)

    Only One FootNote Can Be Added At A Time


    Jumps are handled by Format Font Select Double From The Underline combo for the jump text
    Select Double From The Underline combo and Hidden From The Effects for the actual link
    The actual link is one of the # Page Hooks defined earlier.


    Contents Index Previous Chapter Next Chapter To Top


    Wilmott Online Technical Forum For Derivative Experts