Creates a new flyout in the CommandManager and context-sensitive menus.
.NET Syntax
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 MainIconList As System.Object
Dim IconList As System.Object
Dim CallbackFunction As System.String
Dim UpdateCallbackFunction As System.String
Dim value As FlyoutGroup
value = instance.CreateFlyoutGroup2(UserID, Title, ToolTip, Hint, MainIconList, IconList, CallbackFunction, UpdateCallbackFunction) |
Parameters
- UserID
Unique user-defined ID for the new flyout
- Title
Name of the flyout to create
- ToolTip
ToolTip for the new flyout
- Hint
- Text displayed in SOLIDWORKS status bar when a user's mouse pointer is over the flyout
- MainIconList
- Array of strings for the paths to the image files for this flyout button (see Remarks)
- IconList
- Array of strings for the paths to the image files containing all of the flyout toolbar buttons and separators (see Remarks)
- CallbackFunction
- Function to call when the flyout is selected
- UpdateCallbackFunction
Optional update function that controls the state of the item; if specified, then SOLIDWORKS calls this function before displaying the item (see Remarks)
If the update function returns... |
Then SOLIDWORKS... |
0 |
Disables the item |
1 |
Enables the item; this is the default state if no update function is specified |
Return Value
IFlyoutGroup
Example
Remarks
See Also
Availability
SOLIDWORKS 2016 FCS, Revision Number 24.0