ScBar_AddFolder()

Examples


The ScBar_AddFolder() function adds a folder to the Shortcut Bar. Folders are used for grouping items in the Shortcut Bar.

Syntax

ScBar_AddFolder(type, name, parent_ID, folder_name)

Parameters

type – An integer indicating whether the folder is being added for a specific user or for a specific user class. Use one of the following constants (which are part of the syScBarObj form):

[spacer]

Constant

Description

scgPERSONAL

The folder is being added for a specific user.

scgUSERCLASS

The folder is being added for a specific user class.


name – A string specifying the user name or user class to which the folder is being added.

parent_ID – An integer indicating the parent node to which the folder will be added. The value 0 indicates the root level.

folder_name – A string containing the text that will be used for the folder name.

Return value

An integer containing the node ID of the new folder.


Documentation Feedback