Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CodeDescription
<object>(Optional) A dynamic array containing the X and Y screen coordinates of the cursor.

<1> X position (in screen coordinates)

<2> Y position (in screen coordinates)

If this parameter is omitted the current cursor position is used instead (via the GetCursorPos() Windows API function)

ReturnvalueThe fully qualified OpenInsight ID of the control beneath the cursor.

See Also

Example

Code Block
// Get object under current cursor position
objID = Utility( "HANDLE_BY_CURSOR" )
// Get HWND under specific position
cursorPos = 23 : @fm : 456
objID = Utility( "HANDLE_BY_CURSOR", cursorPos )