This method is called when the context menu event is raised at the given location.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Function OnContextMenu( _
ByVal X As Integer, _
ByVal Y As Integer _
) As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As BaseTool
Dim X As Integer
Dim Y As Integer
Dim value As Boolean
value = instance.OnContextMenu(X, Y) |
Parameters
- X
- The X coordinate, in device units, of the location of the mouse event. See the OnContextMenu Event for more details.
- Y
- The Y coordinate, in device units, of the location of the mouse event. See the OnContextMenu Event for more details.
Return Value
A boolean value indicating if the context menu event has been handled.
Remarks
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also