Creates a new CommandGroup in the CommandManager.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateCommandGroup( _
ByVal UserID As Integer, _
ByVal Title As String, _
ByVal ToolTip As String, _
ByVal Hint As String, _
ByVal Position As Integer _
) As CommandGroup |
Visual Basic (Usage) | |
---|
Dim instance As ICommandManager
Dim UserID As Integer
Dim Title As String
Dim ToolTip As String
Dim Hint As String
Dim Position As Integer
Dim value As CommandGroup
value = instance.CreateCommandGroup(UserID, Title, ToolTip, Hint, Position)
|
Parameters
- UserID
Unique, user-defined ID for this CommandGroup
- Title
Name of the CommandGroup to create
- 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
Example
Remarks
See Also
Availability
SolidWorks 2006 FCS, Revision Number 14