B4J Question How to detect a mouse click outside the MainForm?

wonder

Expert
Licensed User
Longtime User
I need to write a small program that will perform an action every time the user clicks the mouse middle button, no matter what window is in the foreground.

Obviously, I can't use "Sub MainForm_MouseClicked".
How to achieve this?
 
Last edited:

wonder

Expert
Licensed User
Longtime User
Thank you so much, madru and Erel for pointing me in the right direction!
Thank you so much, Roycefer for wrapping and creating the library!

You guys are awesome, I love this forum!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…