Get() > State changing methods |
Tests if a Get is hit by the mouse cursor.
:hitTest( <nMouseRow>, <nMouseCol> ) --> nHitCode
Method :hitTest() accepts the numeric row and column position of the mouse cursor and returns a numeric value indicating whether or not the mouse cursor is located within the Get object. #define constants are available in the BUTTON.CH file identifying the return value of :hitTest().
Return values of oGet:hitTest()
Constant | Value | Description |
---|---|---|
HTNOWHERE | 0 | Mouse cursor is outside Get object |
HTCLIENT | -2049 | Mouse cursor is inside Get object |
http://www.xHarbour.com