AddMenuPopupItem Method (IFrame)
Obsolete. Superseded by IFrame::AddMenuPopupItem2.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddMenuPopupItem( _
ByVal DocType As System.Integer, _
ByVal SelectType As System.Integer, _
ByVal Item As System.String, _
ByVal CallbackFcnAndModule As System.String, _
ByVal CustomNames As System.String, _
ByVal Unused As System.Integer _
) As System.Boolean |
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 value As System.Boolean
value = instance.AddMenuPopupItem(DocType, SelectType, Item, CallbackFcnAndModule, CustomNames, Unused) |
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
- CallbackFcnAndModule
- Function called when user clicks your shortcut menu item (see Remarks)
- CustomNames
- Names of custom feature types (see Remarks)
- Unused
Reserved for future use, set to 0
Return Value
True if shortcut menu item was added, false if not
Remarks
See Also