Jump to content

GetCursorInfo


lyly
 Share

Recommended Posts

Hi

Using GUIGetCursorInfo we recieve an Array

as follow:

$array[0] = X coord (horizontal)

$array[1] = Y coord (vertical)

$array[2] = Primary down (1 if pressed, 0 if not pressed)

$array[3] = Secondary down (1 if pressed, 0 if not pressed)

$array[4] = ID of the control that the mouse cursor is hovering over (or 0 if none) Failure: 0 and set @error to 1

It works only on an window created by a GUICreate.

BUT I want to use [$array[2] = Primary down (1 if pressed, 0 if not pressed)]

FOR ANY WINDOW (not created by GUICreate).

HOW ?

Thanks

lyly

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...