IrrGetCursorPosition

section index

## NAME

IrrGetCursorPosition - Get position of the Cursor

## SYNOPSIS

IrrGetCursorPosition(*pos.IRR_POS2D)

## INPUTS

*pos.IRR_POS2D | - | Pointer to a IRR_POS2D Structure

## FUNCTION

Returns the current position of the mouse cursor.

## RESULT

Filled the Structure *pos.IRR_POS2D with the current position of the Cursor

## EXAMPLE

        Define mypos.IRR_POS2D
        IrrGetCursorPosition(@mypos)
        Debug("Current Cursor-Position="+Str(mypos\x)+","+Str(mypos\y))

## NOTES

SEE ALSO IRR_POS2D