>I have a command button on a modless window that fires off a communication process. I disable the button while the process is running but I found that I can click on the button a and when the button is enabled again the blasted thing fires all the clicks I did while it was disabled.
>
>Any way to clear typeahead for mouse clicks? If not then I will just not disable it and set a flag instead to just RETURN from the button while the process is running.
>TIA
I haven't tried this in actual code, but maybe something like this:
DO WHILE INKEY(0.001,'M')=151
ENDDO