Visit Gigasoft's Web Site
 ProEssentials v10 Help

GetHotSpot

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

 

public ProEssentials.Structs.HotSpotData PeFunction.GetHotSpot( )

 

public int PeFunction.GetHotSpot( int x, int y )

 

Parameter

Description

x

X location in pixel coordinates to search for a hot spot

y

Y location in pixel coordinates to search for a hot spot

 

This function is called to determine if and what type of hot-spot resides under the mouse (or a specific set of x/y coordinates.) This will let you know if the mouse if over a hot-spot without the user having to click or double-click. You will normally use this function within a MouseMove event and also use GetHotSpotData to determine which hot spot if any was found.

 

The version with no arguments uses the chart's current mouse location and returns a ProEssentials.Structs.HotSpotData object.

  

Comments

See example 014 within the demo.

 

See Also: LastMouseMove, GetHotSpotData

 

Returns

NonZero if the function was successful, otherwise Zero.

 

Comments

PeFunction.GetHotSpot members of Pego.PeFunction, Pesgo.PeFunction, Pe3do.PeFunction, Pepso.PeFunction, Pepco.PeFunction