Spaldy Posted February 3, 2011 Posted February 3, 2011 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?
Spaldy Posted February 4, 2011 Author Posted February 4, 2011 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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now