HbCheckBox() > Methods |
Tests if a check box 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 HbCheckBox object. #define constants are available in the BUTTON.CH file identifying the return value of :hitTest().
Return values of oHbCheckBox:hitTest()
Constant | Value | Description |
---|---|---|
HTNOWHERE | 0 | Mouse cursor is outside the check box and its caption |
HTCAPTION | -1025 | Mouse cursor is inside the check box's caption |
HTCLIENT | -2049 | Mouse cursor is inside the check box |
http://www.xHarbour.com