|
|
|
|
MouseXPos (Function) In french: SourisPosX Returns the horizontal position (X) of the mouse cursor relative to the specified window or control. Used in a mouse or stylus process (click, hover, left or right button down, etc.). You can get: - the position of the mouse (or stylus) when an Image control is clicked (function used in the "Click" event of the Image control).
- the position of the mouse (or stylus) when hovering over a window (function used in the optional "Mouse hover" event of a window).
Remarks:  This function should only be used in the events of controls hovered with the mouse.  MouseXPos returns the last known position of the finger on the screen.
Related Examples:
|
Unit examples (WINDEV): The drawing functions
[ + ] Using the main drawing functions of WINDEV to: - Initialize an Image control for drawing - Draw simple shapes - Write a text into a drawing - Change the color in a drawing
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|