detect mouse action globally

BlitzMax Forums/BlitzMax Programming/detect mouse action globally

Barbapapa(Posted 2007) [#1]
Hi, I need some help here, at least a direction of how or if this is possible in BMax.

For a screenrecording app (like camstudio, hypersnap or others) I need the possibility to show which mouse button I have clicked. These apps all only show it for the left or right mouse button, but not the middle one. How can I detect and display what mouse button has been clicked without having the focus on the BMax app? You see, I'm running my main app I want to make a tutorial and thus capturing it but I want to detect and display all mousebutton I press. Any ideas??

Thanks