Unless you have a message pump in run there is no need to disable/enable the button. If you don't know what a message pump is very likely you don't have one.
If you still think you need to disable the button show us a complete sample app that demonstrates the issue you are having because disabling the button most likely is not the fix to your actual problem.
In reply to Re: disable button
by GrandFather
in thread disable button
by honyok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |