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 SmallIcon As System.String
Dim LargeIcon As System.String
Dim SmallImageList As System.String
Dim LargeImageList As System.String
Dim CallbackFunction As System.String
Dim UpdateCallbackFunction As System.String
Dim value As FlyoutGroup
value = instance.CreateFlyoutGroup(UserID, Title, ToolTip, Hint, SmallIcon, LargeIcon, SmallImageList, LargeImageList, 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
- SmallIcon
- Path to the small bitmap or PNG used in the flyout
- LargeIcon
- Path to the large bitmap or PNG used in the flyout
- SmallImageList
- Path to the bitmap or PNG containing all of the small button and separator images for this flyout
- LargeImageList
- Path to the bitmap or PNG containing all of the large button and separator images for this flyout
- 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 this update function returns... |
Then the SolidWorks software... |
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 2011 FCS, Revision Number 19.0