|
|
|
|
|
- Overview
- Actions performed by the user
Optional events: Information retrieved (Java and Android)
WINDEV and WINDEV Mobile allow you to add optional events to the ones proposed by default for the different application elements. For more details, see Optional events. Depending on the optional event used, specific information can be retrieved via the _EVE.LPARAM and _EVE.WPARAM variables. Actions performed by the user The table below presents the information returned in the different optional events: | | Optional event | Information that can be returned in the event |
---|
Long Press/Displaying the context menu (WM_CONTEXTMENU) | - Vertical position (Y) of mouse cursor in relation to the relevant control or window: MouseYPos.
- Horizontal position (X) of mouse cursor in relation to the relevant control or window: MouseXPos.
Remark: If these values are equal to -1, the popup menu was opened by the Windows key for opening the popup menu. | Mouse hover (WM_MOUSEMOVE)
Pressed/Left mouse button down (WM_LBUTTONDOWN)
Released/Left mouse button up (WM_LBUTTONUP)
Double Tap/ Double click with the left mouse button (WM_LBUTTONDBLCLK)
Right mouse button down (WM_RBUTTONDOWN)
Right mouse button up (WM_RBUTTONUP)
Double click with the right mouse button (WM_RBUTTONDBLCLK) | - Vertical position (Y) of mouse cursor in relation to the relevant control or window: MouseYPos.
- Horizontal position (X) of mouse cursor in relation to the relevant control or window: MouseXPos.
| Mouse wheel (WM_MOUSEWHEEL) | - Vertical position (Y) of mouse cursor in relation to the relevant control or window: MouseYPos.
- Horizontal position (X) of mouse cursor in relation to the relevant control or window: MouseXPos.
| Move (WM_MOVE) | - Vertical position: Y property.
- Horizontal position: X property.
| Resize (WM_SIZE) | - Height of control or window: Height property.
- Width of control or window: Width property.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|