Jump to content

Detect gui button fired event on 3rd party app gui button


Recommended Posts

Hello!

I need to detect when user click on a gui button in 3rd party app.

I mean I have to detect event, when user click LMB down on the gui button, then LMB up on the same exact gui button. As you probably know you can click and hold LMB on some element, then move mouse out of it and relase LMB, so it will not fire event. Also, you can push LMB anywhere and move it to the button and then release it, so detecting LMB up is not an option too.

I actually need to hook to the gui button pressed event somehow, is that possible?

Again, this is not gui I created but a standalone 3rd party app. and it is not always LMB, it could be enter, or space (on some buttons) or even RMB if user switched to left handed mode mouse, for example.

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...