Jump to content

CUI console mouseevent


Recommended Posts

Hi everyone :bye:

Can someone guide me to the right direction with this question?

I need a simple example for getting the mouse coordinates and other input events (using api calls, not mousegetpos) on a console window (return the x and y cell)

https://msdn.microsoft.com/en-us/library/windows/desktop/ms684239(v=vs.85).aspx

UDF link where I get the code from:

https://github.com/MattDiesel/au3-console/blob/master/Console.au3

A c++ example that does exactly what i'm looking for:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms685035(v=vs.85).aspx

 

The code in the attachments helps a lot but I don't quite understand it,

what code of it is necessary and is there a way more 'simple/less code' way to do this (like the c++ example)

 

Thanks,

TheAutomator

 

test.au3

Edited by TheAutomator
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

×
×
  • Create New...