in reply to disable button

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.


Perl's payment curve coincides with its learning curve.