Obsolete. Superseded by ICommandManager::CreateCommandGroup2.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateCommandGroup( _
ByVal UserID As System.Integer, _
ByVal Title As System.String, _
ByVal ToolTip As System.String, _
ByVal Hint As System.String, _
ByVal Position As System.Integer _
) As CommandGroup |
Visual Basic (Usage) | |
---|
Dim instance As ICommandManager
Dim UserID As System.Integer
Dim Title As System.String
Dim ToolTip As System.String
Dim Hint As System.String
Dim Position As System.Integer
Dim value As CommandGroup
value = instance.CreateCommandGroup(UserID, Title, ToolTip, Hint, Position) |
C++/CLI | |
---|
CommandGroup^ CreateCommandGroup(
& System.int UserID,
& System.String^ Title,
& System.String^ ToolTip,
& System.String^ Hint,
& System.int Position
) |
Parameters
- UserID
Unique user-defined ID for this CommandGroup
- Title
Name of the CommandGroup to create (see Remarks)
- ToolTip
ToolTip for this CommandGroup
- Hint
Text displayed in SOLIDWORKS status bar when a user's mouse pointer is over this CommandGroup
- Position
Position of the CommandGroup in the CommandManager for all document templates (see Remarks)
NOTE: Specify 0 to add the CommandGroup to the beginning of the CommandMananger, or specify -1 to add it to the end of the CommandManager.
Return Value
Pointer to
ICommandGroup object
Remarks
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14