Champak Posted December 4, 2010 Share Posted December 4, 2010 (edited) I found a couple examples on detecting mouse activity on gui windows, but I need to detect them on a regular window...specifically double clicks. I tried adapting them to use on the standard window, but with no luck. Is there an example that I didn't see? Edited December 4, 2010 by Champak Link to comment Share on other sites More sharing options...
James Posted December 4, 2010 Share Posted December 4, 2010 I found a couple examples on detecting mouse activity on gui windows, but I need to detect them on a regular window...specifically double clicks. I tried adapting them to use on the standard window, but with no luck. Is there an example that I didn't see?You're mixing your vocabulary up there. Every graphical window you see on your computer is a GUI of some sort, except the console. AutoIt gives you the ability to make your own GUI just like every other interface you're probably looking at right now.Any how, you want to detect double clicks on EVERY window except the one created by you, right? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Champak Posted December 4, 2010 Author Share Posted December 4, 2010 Correct. Link to comment Share on other sites More sharing options...
Champak Posted December 6, 2010 Author Share Posted December 6, 2010 Bump Link to comment Share on other sites More sharing options...
Fubarable Posted December 6, 2010 Share Posted December 6, 2010 (edited) Have you tried using writing a callback method and then hooking it into the mouse event chain with the _WinAPI_SetWindowsHookEx function? I'm no pro at this, but this would be where I would start, and there are many good examples of this type of coding in the forum.Edit: in particular, please check out the code in this most amazing program and thread: My hats off to the author. I'm not worthy. Edited December 6, 2010 by Fubarable 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