Adds a menu item or separator to a shortcut menu (i.e., a right-click pop-up menu).
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IFrame
Dim DocType As System.Integer
Dim SelectType As System.Integer
Dim Item As System.String
Dim CallbackFcnAndModule As System.String
Dim CustomNames As System.String
Dim Unused As System.Integer
Dim BitmapFileName As System.String
Dim value As System.Boolean
value = instance.AddMenuPopupItem2(DocType, SelectType, Item, CallbackFcnAndModule, CustomNames, Unused, BitmapFileName) |
Parameters
- DocType
Document type to which to add the shortcut menu item
- SelectType
- Selection type to which to add the shortcut menu item
- Item
- Description that appears on the shortcut menu item
- CallbackFcnAndModule
- Functions called when user clicks the shortcut menu item (see Remarks)
- CustomNames
- Names of custom feature types (see Remarks)
- Unused
Reserved for future use, set to 0
- BitmapFileName
- Path and filename of bitmap for the shortcut menu item
Return Value
True if shortcut menu item is added, false if not
Remarks
See Also
Availability
SOLIDWORKS 2009 FCS, Revision Number 17.0