Contents

×

Suntan Special version 0.68

Suntan Special Warp4 edition

AddBook

Suntan Special Function: AddBook

The AddBook function is used to add an icon to the OS/2 Books folder. The OS/2 Books folder is created by Suntan Special for all the documentation added while running applications. AddBook will create the OS/2 Books folder if it does not exist already.

Syntax:

rc = AddBook(helpName, helpFile, helpID)

Program Arguments

  1. helpName - name of the book; used as the icon title
  2. helpFile - fully qualified filename of help file
  3. helpID - object ID for the help file

Returns:

0 = success, 1 = failure

Note:

If the extension of the helpFile is .INF, then the icon will open the object with view. If the extension of the helpFile is .PDF, the icon will open with Lucide or QPDFView if available. Otherwise the icon will open the object with the system editor. This allows both INF files and readme files to be handled with the same function.

Last Modified: 24 Dec 2019
Graphics by Colorful Language
Copyright 2019 by Blonde Guy