Suntan Special version 0.69
Suntan Special Web 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
- helpName - name of the book; used as the icon title
- helpFile - fully qualified filename of help file
- 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.
Graphics by Colorful Language
Copyright 2024 by Blonde Guy