addItem

>>-addItem--(--shortcut,program--------------------------------->

>--+------------------------------------------------------+----->
   +-,--+----------+--+---------------------------------+-+
        +-iconfile-+  +-,--+------------+--+----------+-+
                           +-iconnumber-+  +-,workdir-+

>--)-----------------------------------------------------------><

Adds a shortcut to a program group. The shortcut is placed into the last group used with either AddGroup or ShowGroup. Example:

AddItem("OODialog Samples", ,
"rexx oodialog\samples\sample.rex", ,
"oodialog\samples\oodialog.ico")

Note: The name that you specify for the group argument must not contain characters that are not valid, such as brackets or parenthesis. Otherwise, this method fails. Some characters are changed, for example / to _.

Return value:

0

The method was successful.

1

The method failed.