楼主 发表于： 2000-01-20 14:32:00
#1 得分：0 回复于： 2000-01-20 14:40:00
The syntax for the AddItem command has this form:
HotKey[,fMinimize[fSeparateMemSpace] ] ] ] ] ] ])
The AddItem command instructs Program Manager to add an icon to an existing group. There is a limit of 50 items per group.
Following are the parameters for this command:
Specifies the full command line required to run the application. This parameter is a string. At a minimum, this string is the name of the executable file for the application. It can also include the full path of the application and any parameters required by the application.
Specifies the title that is displayed below the icon in the group window.
Identifies the filename for the icon to be displayed in the group window. This parameter is a string. This file can be either a Windows-based executable file or an icon file. If no value is specified for the IconPath parameter, Program Manager uses the first icon in the file specified by the CmdLine parameter if that file is an executable file. If CmdLine specifies an associated file, Program Manager uses the first icon of the associated executable file. The association is taken from the registry. (For more information about the registry, see Registry.) If CmdLine specifies neither an executable file nor an associated executable file, Program Manager uses a default icon.
Specifies the index of the icon in the file identified by the IconPath parameter. The IconIndex parameter is an integer. PROGMAN.EXE contains five built-in icons that can be used for programs not written for Windows.
Specifies the horizontal position of the icon in the group window. This parameter is an integer. Both the xPos and yPos parameters must be used to specify the position of the icon. If the position is not specified, Program Manager places the icon in the next available space.
Specifies the vertical position of the icon in the group window. This parameter is an integer. Both the xPos and yPos parameters must be used to specify the position of the icon. If the position is not specified, Program Manager places the icon in the next available space.
Specifies the name of the default (or working) directory. This parameter is a string.
Identifies a hot (or shortcut) key that is specified by the user.
Specifies whether an application window is to be minimized when first displayed.
Specifies whether a 16-bit application runs in a separate memory space.