[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

     <oPushButton>:hitTest(<nMouseRow>, <nMouseCol>)
        --> <nHitStatus>

        <nMouseRow> is a numeric value that indicates the current screen row
        position of the mouse cursor.

        <nMouseCol> is a numeric value that indicates the current screen
        column position of the mouse cursor.

        Returns a numeric value that indicates the relationship of the mouse
        cursor with the push button.

        Applicable Hit Test Return Values
        ---------------------------------------------------------------------
        Value   Constant       Description
        ---------------------------------------------------------------------
        0       HTNOWHERE      The mouse cursor is not within the region of
                               the screen that the push button occupies
        -1      HTTOPLEFT      The mouse cursor is on the top left corner of
                               the push button's border
        -2      HTTOP          The mouse cursor is on the push button's top
                               border
        -3      HTTOPRIGHT     The mouse cursor is on the top right corner of
                               the push button's border
        -4      HTRIGHT        The mouse cursor is on the push button's right
                               border
        -5      HTBOTTOMRIGHT  The mouse cursor is on the bottom right corner
                               of the push button's border
        -6      HTBOTTOM       The mouse cursor is on the push button's
                               bottom border
        -7      HTBOTTOMLEFT   The mouse cursor is on the bottom left corner
                               of the push button's border
        -8      HTLEFT         The mouse cursor is on the push button's left
                               border
        -2049   HTCLIENT       The mouse cursor is on the push button
        ---------------------------------------------------------------------

        Button.ch contains manifest constants for the PushButton:hitTest()
        return value.

        hitTest() is a method of the PushButton class that is used for
        determining if the mouse cursor is within the region of the screen
        that the push button occupies.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson