SftTree/NET 2.0

ItemFromPoint Method, SftTree Class

Softel vdm, Inc.

Determines the item given a point in the item area.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Function ItemFromPoint( _
     ByVal searchPoint As Point, _
     ByVal fIgnoreX As Boolean, _
     fLeft As Boolean _
  ) As ItemClass

C#   

public ItemClass ItemFromPoint(
     Point searchPoint,
     bool fIgnoreX,
     out bool fLeft );

C++   

public: ItemClass^ ItemFromPoint(
     Point searchPoint,
     bool fIgnoreX,
     bool^ fLeft );

fIgnoreX

Defines whether the X coordinate is ignored. If True, only the Y coordinate is used to determine the item at the given location.

fLeft

Returns whether the item is in the left pane.

searchPoint

Defines the coordinates relative to the top, left corner of the control.

Return Value

The item at the given coordinates.

Comments

The ItemFromPoint method determines the item given a point in the item area.

The point can be located within the item area only.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com