Version

AdjustMousePosition Method

Invoked before the control element utilizes the current mouse position to allow a derived control element to offset the position if necessary.
Syntax
'Declaration
 
Protected Overridable Function AdjustMousePosition( _
   ByVal clientPt As Point _
) As Point
protected virtual Point AdjustMousePosition( 
   Point clientPt
)

Parameters

clientPt
Point to evaluate

Return Value

The default implementation returns the original point
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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