CustomMenuItemClicked  Event

Description         Occurs when the user clicks on a menu item in the user defined menu.

Usage                  Sub BIAnno_ CustomMenuItemClicked(ByVal ObjectType As Integer, ByVal RetValue As Long)

Remarks             This event is sent when the user clicks on a menu item in the user defined pop-up menu. This menu can be created by the AnnoCreateCustomMenu and AnnoAddCustomMenuItem methods. You can display the created custom menu with the OnMouseDownExt method. The ObjectType is the type of the selected annotation object. If no annotation object is selected, the ObjectType is -1. The RetValue is the ID of the selected menu item. This value can be specified with the AnnoAddCustomMenuItem and AnnoSetMenuItemReturnValue methods. If the RetValue is zero, the user didn’t select any menu item from the displayed custom pop-up menu.