Customizing the Help Files and Code for Scribble

Once the Help-specific files are copied and renamed, you need to modify their contents to refer to the Scribble project instead of to HelpApp. You can perform the following procedure in the text editor window.

To customize the Help files for Scribble

  1. Open the Scribble copy of Scribble.cnt in the text editor window and change all occurrences of the string “HelpApp” to “Scribble.”

  2. Save and close Scribble.cnt .

  3. Repeat step 1 for Scribble.hpj (located in the \HLP directory).

    Keep both files open.

  4. In Scribble.cnt, add an entry in the menu structure for the Pen menu, between the Edit and View entries:
    2 Pen menu=menu_pen
    
  5. Save and close Scribble.cnt.

  6. In Scribble.hpj, make the following changes:
    • Under the [FILES] section, add the line
    Pen.rtf
    

    This adds the file, Pen.rtf, to your Help project.

    • Under the [OPTIONS] section, change “CONTENTS=Main_index” to “CONTENTS=new_index”.

      Main_index is the context string for the Help Contents topic that AppWizard created; replacing it with new_index calls the topic, in Pen.rtf, for Scribble’s Help Contents screen instead.

    • Under the [ALIAS] section, change the string “HIDR_MAINFRAME = main_index” to “HIDR_MAINFRAME = new_index”; and change “HIDR_HELPAPTYPE” to “HIDR_SCRIBBTYPE”.