bool __stdcall TestMouseonButton(int x,int y,int xs,int ys)
 

    Mouse test for button.


Parameters:
    x, y:  top left corner of the test rectangle in screen coordinates.
    xs,ys: size of the test rectangle in screen coordinates.

Result:
    True, if the mouse left button is pressed, and the pointer is in the test area.