DeletePMIcon

Description:

baDeletePMIcon deletes a Program Manager or Start Menu icon.

Platforms:

Windows

Usage:

Result = baDeletePMIcon( Icon )

Arguments:

String.
Icon is the name of the icon to delete.

Returns:

Integer.
Returns 1 if successful, else 0.

Examples:

Director:
OK = baDeletePMIcon( "Multimedia Terms" )

Authorware:
OK := baDeletePMIcon( "Multimedia Terms" )
 

Notes:

The icon will be deleted from the active Program Manager group. To ensure that the group you want to delete the icon from is active, you should always call baCreatePMGroup before you use this function (even if the group already exists). This will make the group the active one. If you are deleting multiple icons, you only need to make one call to baCreatePMGroup before you start deleting.
 

See also:

baCreatePMGroup
baDeletePMGroup
baPMGroupList
baPMSubGroupList
baCreatePMIcon
baPMIconList