Component: Mouse (Controls )

From Flowcode Help
Revision as of 12:05, 3 November 2020 by BenR (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Author Matrix TSL
Version 1.0 (Release)
Category Controls


Image Mouse component

A component to read the mouse buttons or position of the cursor on the screen.

Examples

No additional examples


Downloadable macro reference

This component does not contain any downloadable macros

Simulation macro reference

GetMouseButtons

Reads the button states for the mouse.

0 = No Buttons Down / 1 = Left Button Down / 2 = Right Button Down

3 = Both Left and Right Buttons Down

Parameters

This macro has no parameters


Return value

BYTE


GetMouseOverComponentHandle

Gets the handle of the panel component under the mouse pointer

Parameters

This macro has no parameters


Return value

HANDLE


GetMouseCoords

Gets the coordinates of the mouse in screen coordinates.

Parameters

BOOL Axis
0=X, 1=Y


Return value

ULONG



Property reference

This component does not contain any properties