TopBarMenu() > Menu display and selection |
Checks if a menu item is clicked with the mouse.
:hitTest( <nMouseRow>, <nMouseCol> ) --> nMenuItemPos
Method :hitTest() accepts the numeric row and column position of the mouse cursor and returns a numeric value indicating the ordinal position of the menu item that is underneath the mouse cursor. If the mouse is outside the menu bar, the return value is zero.
http://www.xHarbour.com