Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptions.HitTestPix Method

Determines the entry at the given cursor coordinates.

Syntax

VB.NETName = object.HitTestPix(ByVal xPosPix As OLE_XPOS_PIXELS, ByVal yPosPix As OLE_YPOS_PIXELS) As String
VBName = object.HitTestPix(ByVal xPosPix As OLE_XPOS_PIXELS, ByVal yPosPix As OLE_YPOS_PIXELS) As String
C#.NETstring Name = object.HitTestPix(OLE_XPOS_PIXELS xPosPix, OLE_YPOS_PIXELS yPosPix);
VC++_bstr_t Name = object->HitTestPix(OLE_XPOS_PIXELS xPosPix, OLE_YPOS_PIXELS yPosPix);
CHRESULT object->raw_HitTestPix(OLE_XPOS_PIXELS xPosPix, OLE_YPOS_PIXELS yPosPix, BSTR* Name);

object

A SftOptions object.

xPosPix

The x coordinate of the location for which the entry name is to be returned. The units used are pixels.

yPosPix

The y coordinate of the location for which the entry name is to be returned. The units used are pixels.

Name

Returns the entry name at the given cursor coordinates. If the coordinates describe the column header, "Header" is returned. If the coordinates are not on an entry, "Empty Area" is returned.

Comments

The HitTestPix method determines the entry at the given cursor coordinates.

If an entry is found at the coordinates (x, y), the entry name (Entry.Name property) is returned. The Entry property can be used to retrieve the SftOptionsEntry object.

See Also SftOptions Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.