Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

AddProgramGroup( )

Action: Instructs Program Manager to create a new program group.
 
Syntax: ADDPROGRAMGROUP ("group name", common group flag)
 
Parameters:

Group name

Identifies the group window to be added.

Common group flag

Optional numeric parameter.

This parameter is available only on Windows NT. Common group flag can have the following values:

0 Creates a personal group.
1 Creates a common group. The current user must have administrative privileges, or the function fails.
 
Returns:
0 Program group added
Error code Function failed
 
See Also: AddProgramItem( ), DelProgramGroup( ), DelProgramItem( )
 
Example:

If AddProgramGroup("NewGroup", 0) = 0
  ? "NewGroup has created...."
Endif