detect mouse action globally

BlitzMax Forums/BlitzMax Programming/detect mouse action globally

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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