rc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
HELPSUBTABLE (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
 
                The Resource Compiler HELPSUBTABLE Statement
 
HELPSUBTABLE helpsubtable-id
[SUBITEMSIZE size]
BEGIN
helpsubitem-definition
    .
    .
    .
END
 
The HELPSUBTABLE statement defines the contents of a help-subtable resource.
A help-subtable resource contains a help-subitem entry for each item that
can be selected in an application window. Each of these items should be a
child window of the application window specified in the help-table resource.
The help subtable should contain a help subitem for each control, child
window, and menu item in the application window.
 
You can provide any number of HELPSUBTABLE statements in a
resource-definition file, but each statement must specify a unique
helpsubtable-id value. You can also provide any number of help-subitem
definitions in the help subtable. These specify the child window for which
help is provided, the help panel containing the help text for the child
window, and one or more application-defined integers.
 
If you include optional integers in the help-subitem definitions, you must
also include a SUBITEMSIZE statement to specify the size, in words, of each
help subitem. All help subitems in a help subtable must be the same size.
The default size is two words per help subitem.
 
Field                   Description
────────────────────────────────────────────────────────────────────────────
 
helpsubtable-id         Specifies the resource identifier of the help
                        subtable. This value must be an integer in the range
                        0 through 65,535, or a simple expression that
                        evaluates to a value in that range.
 
helpsubitem-definition  Specifies a HELPSUBITEM statement. A HELPSUBITEM
                        statement specifies a child window, the help panel
                        associated with the child window, and one or more
                        optional, application-defined integers. For details
                        about this statement, see the HELPSUBITEM topic.
 
Example
 
This example creates a help-subtable resource whose help-subtable identifier
is IDSUB_FILEMENU. Each HELPSUBITEM statement specifies a child window and a
help panel.
 
HELPSUBTABLE IDSUB_FILEMENU
BEGIN
    HELPSUBITEM IDCLD_OPEN, IDPNL_OPEN
    HELPSUBITEM IDCLD_SAVE, IDPNL_SAVE
END
 
See Also
 
HELPITEM, HELPSUBITEM, HELPTABLE, SUBITEMSIZE