GoDiagram Win Reference
OnMouseOver Method (GoObject)

Called when the user moves the mouse over this object when not dragging or resizing.
Syntax
'Declaration
 
Public Overridable Function OnMouseOver( _
   ByVal evt As GoInputEventArgs, _
   ByVal view As GoView _
) As Boolean
public virtual bool OnMouseOver( 
   GoInputEventArgs evt,
   GoView view
)

Parameters

evt
view

Return Value

True to indicate this object handled the event and thus that the calling view need not continue calling the method up the chain of parents.
Remarks

By default this method just calls GetCursorName; if the return value is a string, it sets the view's GoView.CursorName property to that value; otherwise this method returns false. Your override of this method can decide to set the Control.Cursor property directly, if you do not want to use the GetCursorName method. The view's GoView.DoBackgroundMouseOver method is responsible for restoring the default cursor for the view when the pointer is no longer over an object that specifies a cursor. The view method DoMouseOver will call GoView.DoBackgroundMouseOver when all the calls to this object method OnMouseOver return false.

Normally this method is called when no specific tool is in control for the view, i.e., when the GoToolManager tool is the view's current tool. GoView.DoMouseOver is the normal caller.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoObject Class
GoObject Members
OnHover Method
OnEnterLeave Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback