lyly Posted October 19, 2009 Share Posted October 19, 2009 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 More sharing options...
omikron48 Posted October 19, 2009 Share Posted October 19, 2009 Look up _IsPressed() Link to comment Share on other sites More sharing options...
lyly Posted October 19, 2009 Author Share Posted October 19, 2009 Look up _IsPressed()Hi Omikron48Thanks,it works !lyly Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now