Sign in to follow this  
Followers 0
lyly

GetCursorInfo

3 posts in this topic

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

Share this post


Link to post
Share on other sites



Look up _IsPressed()

Share this post


Link to post
Share on other sites

Look up _IsPressed()

Hi Omikron48

Thanks,it works !

lyly

Share this post


Link to post
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
Sign in to follow this  
Followers 0