Sign in to follow this  
Followers 0
Spaldy

Right Click on a Button in Event Mode

2 posts in this topic

This may be a silly question and Im hoping that there is a simple solution but I would like for my buttons (created with GUICtrlCreateButton) to be able to distinguish between left and right click while in Event Mode. I would like for left clicking and right clicking to lead to different functions if at all possible, currently the button does not even react when right clicked.

Any help would be appreciated.


Why is it that Poilitics is made up of the word poli meaning many and tics being blood sucking creatures?

Share this post


Link to post
Share on other sites



I managed to get the effect of what I wanted by simply setting any right click to set a variable to 1 while sending a left click to that location. The function for that button then checked the variable to see if it was originally a right click or not.


Why is it that Poilitics is made up of the word poli meaning many and tics being blood sucking creatures?

Share this post


Link to post
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
Sign in to follow this  
Followers 0