Jump to content

Disabling buttons once they've been clicked


Recommended Posts

Howdy!

I've been searching for this on a couple of different tutorials, but I need a quick answer because we're trying to push this program out as quickly as possible. I'm trying to figure out how to disable a button once it has been clicked. The program authenticates some login information against a server and it needs to not do it more than once. I just need to disable the button once it has been clicked; this could be accomplished by greying out the button or by some other means. Thank you very much!

Link to comment
Share on other sites

Nevermind. I found GUICtrlSetState at the $GUI_DISABLE flag. Thanks, though!

Howdy!

I've been searching for this on a couple of different tutorials, but I need a quick answer because we're trying to push this program out as quickly as possible. I'm trying to figure out how to disable a button once it has been clicked. The program authenticates some login information against a server and it needs to not do it more than once. I just need to disable the button once it has been clicked; this could be accomplished by greying out the button or by some other means. Thank you very much!

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...