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

     <oTopBar>: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 top bar menu.

        Hit Test Return Values
        ---------------------------------------------------------------------
        Value   Constant       Description
        ---------------------------------------------------------------------
        > 0     Not applicable The position in the top bar menu of the item
                               whose region the mouse is within
        0       HTNOWHERE      The mouse cursor is not within the region of
                               the screen that the top bar menu occupies
        -1      HTTOPLEFT      The mouse cursor is on the top-left corner of
                               the top bar menu's border
        -2      HTTOP          The mouse cursor is on the top bar menu's top
                               border
        -3      HTTOPRIGHT     The mouse cursor is on the top-right corner of
                               the top bar menu's border
        -4      HTRIGHT        The mouse cursor is on the top bar menu's right
                               border
        -5      HTBOTTOMRIGHT  The mouse cursor is on the bottom-right corner
                               the top bar menu's border
        -6      HTBOTTOM       The mouse cursor is on the top bar menu's
                               bottom border
        -7      HTBOTTOMLEFT   The mouse cursor is on the bottom-left corner
                               of the top bar menu's border
        -8      HTLEFT         The mouse cursor is on the top bar menu's left
                               border
        ---------------------------------------------------------------------

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

        hitTest() is a method of the TopBarMenu class that is used for
        determining if the mouse cursor is within the region of the screen
        that the Top bar menu occupies.

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