Unicode Controls & Classes for VB6 - Version 4
ctlUniTextCodeHighlight
.GetCharFromPos Function
Returns the character pointed by given (mouse) coordinates
Syntax
Public Function GetCharFromPos (ByVal
xPixels
As Long, _
ByVal
yPixels
As Long) As Long
Parameters
Parameter
Description
ByVal
xPixels
As Long
The X mouse coordinate (in pixels)
ByVal
yPixels
As Long
The Y mouse coordinate (in pixels)
Remarks